Allowed Orientations failing on mobile in 9dp5?
brahma at hindu.org
Sat Mar 11 00:03:39 EST 2017
This used to work on 8.1.3
command sivasiva_InitOrientation "landscape"
#with these in a library that was started on init.. (i.e. effectively a backscript)
command sivasiva_InitOrientation orientationType
if the environment is not "mobile" then return false
set the fullscreenmode of this stack to "showAll" -- better for wider screens
command mobile_SetAllowedOrientation orientationType
if the environment is not "mobile" then return empty
put "portrait,portrait upside down" into allowedOrientations
put "landscape left,landscape right" into allowedOrientations
default -- allow all, ignoring face up/down
put "portrait,portrait upside down,landscape left,landscape right" into allowedOrientations
This use to force a new stack open in the app to "go sideways" even if the user was holding the phone "upright"
but now standalones built with 9dp5… the stack opens small in portrait mode
is this happening for anyone else?
More information about the use-livecode