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 2018/11/20 15:51:26 UTC

[GitHub] jonastg opened a new issue #38: screenOrientation.unlock() doesn't respect the current orientation on iOS devices

jonastg opened a new issue #38: screenOrientation.unlock() doesn't respect the current orientation on iOS devices
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/38
 
 
   ### Expected behaviour
   
   The device should keep the current orientation, previously locked, after the screen is unlocked.
   
   
   ### Actual behaviour
   
   The screen rotates to the previous orientation when the screen was locked.
   
   
   ### Steps to reproduce it
   
   - The device is in portrait orientation.
   - The user does action that locks screen in landscape orientation.
   - The user rotates the device to watch screen in landscape mode.
   - The user finish the action by which screen was locked.
   - Screen is unlocked and it rotates to portrait (instead keep landscape).
   
   
   ### It fails on
   
   - [X] iOS devices
   
   ### It works on
   
   - [X] Android devices
   
   
   #### OS versions tested
   - iOS 9.3.5
   - iOS 11.4.1
   - Android 7.0
   
   #### Build system
   
   **Android**
   ```bash
   Ionic:
   
      ionic (Ionic CLI)  : 4.0.5
      Ionic Framework    : ionic-angular 3.9.2
      @ionic/app-scripts : 3.2.0
   
   Cordova:
   
      cordova (Cordova CLI) : 8.0.0
      Cordova Platforms     : android 7.1.2
   
   System:
   
      Android SDK Tools : 26.1.1
      NodeJS            : v8.11.3
      npm               : 6.4.1
      OS                : Linux 4.4
   
   ```
   
   **iOS**
   ```bash
   Ionic:
   
      ionic (Ionic CLI)  : 4.2.1
      Ionic Framework    : ionic-angular 3.9.2
      @ionic/app-scripts : 3.2.0
   
   Cordova:
   
      cordova (Cordova CLI) : 8.0.0
      Cordova Platforms     : ios 4.5.5
      Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 16 other plugins)
   
   System:
   
      ios-deploy : 2.0.0
      ios-sim    : 7.0.0
      NodeJS     : v6.10.1
      npm        : 3.10.10
      OS         : macOS High Sierra
      Xcode      : Xcode 10.0 Build version 10A255
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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