Mark Veenstra created CB-13933:
----------------------------------

             Summary: Add an extra orientation event for the real orientation 
even when locked
                 Key: CB-13933
                 URL: https://issues.apache.org/jira/browse/CB-13933
             Project: Apache Cordova
          Issue Type: Improvement
          Components: cordova-plugin-screen-orientation
         Environment: On Android when you open the camera app for example and 
you turn it from portrait to landscape you can see the layout is locked to 
portrait, but the icons will turn.

We would like to do the same in Cordova. But the current plugin does not fire 
the real orientation of the device once it is locked. Also the plugin fires the 
orientation from JS point of view instead of native point of view.

For Android it should be possible to fire the "real" orientation even when 
locked to an orientation. See: [https://stackoverflow.com/a/45437200/1800695]

Would it be a good idea to add / trigger a JS event from the native indicating 
the real orientation of the device so you can turn buttons in the HTML based on 
that event, but stick to the portrait layout?
            Reporter: Mark Veenstra






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to