Native mobile turn off landscape mode

0
Hi, Is there a way to turn off the landscape orientation on a native mobile app? I’d like to have my app only in portrait mode. Thx.
asked
1 answers
0

In earlier hybrid versions we achieve this with javascript and css in the index page, may this is still an option?

See https://stackoverflow.com/questions/43634583/prevent-landscape-orientation-mobile-website

and

https://benfrain.com/understanding-the-viewport-meta-tag-and-css-viewport/

answered