You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/08 08:35:24 UTC

[GitHub] [cordova-plugin-screen-orientation] Asterodeia edited a comment on issue #56: With the 3.0.2 version, the turn orientation change for iOS on landscape mode

Asterodeia edited a comment on issue #56: With the 3.0.2 version, the turn orientation change for iOS on landscape mode
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/56#issuecomment-509132687
 
 
   Sorry for the poor screenshot edited in paint quality, but here is the problem 
   
   ![image](https://user-images.githubusercontent.com/1209771/60795106-5c158e80-a16b-11e9-9a74-be761066e887.png)
   
   Our ionic application is fixed in portrait in config.xml 
   
   `<preference name="Orientation" value="portrait" />`
   
   The only time we switch to landcape is when clicking on the arrow (in red in my beautiful screenshot). typescript code is 
   
   `this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.LANDSCAPE);`
   
   (we are using ionic-native adaptation of the plugin : https://ionicframework.com/docs/native/screen-orientation/ )
   
   With 3.0.1 plugin, both android and iphone were rotating in the same direction (top one on screenshot), so counter clockwise
   With 3.0.2 plugin, iphone is rotating clockwise
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org