Lock Screen Orientation

This code no lone works on my Android 6.0 device when running the app from the Home Screen using the latest nsb sdk:


It used to. Any ideas why?

Thanks, John

This is a JavaScript feature - not something with originates in AppStudio. According to the documentation, it should work:


Too bad, it did work and I relied on it working, but no more.

Thanks, John

I found an older phone to test on and it works ok on this device using the same deploy from NSB, so the screen.orientation.lock(“portrait”) seems to be broken in newer device browsers.