📅  最后修改于: 2022-03-11 14:59:56.140000             🧑  作者: Mango
If you want to restrict to portrait mode only on all devices
you should add this line to the config.xml in your projects root folder.
After that, please rebuild the platform by typing below text in command line:
ionic build