How to restrict app to portrait mode only in ionic for all platform
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.
(Be aware that these values are case sensitive, it is "Orientation", not "orientation".)
After that, please rebuild the platform by typing below text in command line:
|
0 comments