Please, accept my apologies for the misunderstanding.
We have tested this scenario and on iOS devices, the user preference for screen lock is respected.
On Android devices, however, we have been able to reproduce the issue and identify it. We have logged it into our bug tracking system and will introduce a fix for it in a future release.
Basically, what you need to do to enable your app to respect the user settings is to modify AndroidManifest.xml
. In the activity
element , you need to set screenOrientation
to a desired value (unspecified, nosensor, user, or locked should do the trick - the behavior of each setting might differ from device to device though). You will have to rebuild your app for the changes to take effect.
Important: At this point, until we introduce the fix, this will not work. Your setting will always be overriden by sensor which will cause your app to always rotate.
Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!