In your application.rb initialize method you put:
ScreenOrientation.autoRotate = 'Disabled'
1 of 1 people found this helpful
As long as you have app_type:rhoelements in your build.yml file
There is an Issue with disable_screen_rotation in RE2.0, the fix will be available in RE2.1
But you can set Tag AutoRotate to 0 in config.xml to disable the Auto-Rotate.
or suggested by Adel/Darryn, ScreenOrientation.autoRotate = 'Disabled' can be used if apptype is rhoelements in build.yml