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 2020/04/01 14:28:43 UTC

[GitHub] [cordova-plugin-screen-orientation] cmeuser opened a new issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform

cmeuser opened a new issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/62
 
 
   # Bug Report
   
   ## Problem
   Unable to lock the screen orientation on iOS using the latest version of the ionic framework and the plugin.   
   
   ### What is expected to happen?
   
   I'm expecting that both the splash screen and my sign-in page is locked into portrait mode on both iOS and Android. 
   
   ### What does actually happen?
   
   When the app is launched, and the iOS device is in landscape, the splash screen and sign-in page are displayed in landscape.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   - the issue only occurs on iOS
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   import { ScreenOrientation } from '@ionic-native/screen-orientation/ngx';
   
   constructor(
       .
       .
       .
       private screenOrientation: ScreenOrientation,
       .
       .
       .
       ) {
       .
       .
       .
       this.platform.ready().then(() => {
         this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.PORTRAIT);
       });
     }
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   iOS
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   Ionic:
   
      Ionic CLI                     : 5.4.5
      Ionic Framework               : @ionic/angular 5.0.7
      @angular-devkit/build-angular : 0.803.25
      @angular-devkit/schematics    : 8.3.25
      @angular/cli                  : 8.3.25
      @ionic/angular-toolkit        : 2.1.2
   
   Cordova:
   
      Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
      Cordova Platforms : none
      Cordova Plugins   : no whitelisted plugins (0 plugins total)
   
   Utility:
   
      cordova-res : not installed
      native-run  : 0.3.0 
   
   System:
   
      Android SDK Tools : 26.1.1 (/Users/meusercx/Library/Android/sdk)
      ios-deploy        : 1.9.2
      ios-sim           : 8.0.2
      NodeJS            : v10.15.1 (/usr/local/bin/node)
      npm               : 6.14.4
      OS                : macOS Catalina
      Xcode             : Xcode 11.3.1 Build version 11C504
   
   -----
   
   package.json...
       "@ionic-native/screen-orientation": "^5.23.0",
       "cordova-plugin-screen-orientation": "3.0.2",
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-screen-orientation] timbru31 commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/62#issuecomment-607287661
 
 
   Besides that, affected iOS devices and versions are missing in your issue.

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-screen-orientation] cmeuser edited a comment on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform

Posted by GitBox <gi...@apache.org>.
cmeuser edited a comment on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/62#issuecomment-607353569
 
 
   I've updated the Environment, Platform, and Device section of the bug report as well as the Version Information.  I just ran the same app version as reported, which uses Ionic 5, on my iPhone 6 Plus/iOS 12.4.6 and did NOT observe the issue.  Additionally, I ran the production version of the app, which is built using Ionic 4, on my iPhone XS Max/iOS 13.3.1 and observed the same issue reported here but did NOT observe the issue on my iPhone 6 Plus/iOS 12.4.6.  This appears to be an issue related to iOS 13.x.  

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-screen-orientation] cmeuser commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform

Posted by GitBox <gi...@apache.org>.
cmeuser commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/62#issuecomment-607353569
 
 
   I've updated the Environment, Platforms, and Devices section of the bug report as well as the Version Information.  I just ran the same app version as reported, which uses Ionic 5, on my iPhone 6 Plus/iOS 12.4.6 and did NOT observe the issue.  Additionally, I ran the production version of the app, which is built using Ionic 4, on my iPhone XS Max/iOS 13.3.1 and observed the same issue reported here but did NOT observe the issue on my iPhone 6 Plus/iOS 12.4.6.  This appears to be an issue related to iOS 13.x.  

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-screen-orientation] cmeuser edited a comment on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform

Posted by GitBox <gi...@apache.org>.
cmeuser edited a comment on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/62#issuecomment-607353569
 
 
   I've updated the Environment, Platform, and Device section of the bug report as well as the Version Information.  I just ran the same app as reported, which uses Ionic 5, on my iPhone 6 Plus/iOS 12.4.6 and did NOT observe the issue.  Additionally, I ran the production version of the app, which is built using Ionic 4, on my iPhone XS Max/iOS 13.3.1 and observed the same issue reported here but did NOT observe the issue on my iPhone 6 Plus/iOS 12.4.6.  This appears to be an issue related to iOS 13.x.  

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-screen-orientation] timbru31 commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/62#issuecomment-607287259
 
 
   Is your plugin actually installed?
   
   > Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
   > Cordova Platforms : none
   > Cordova Plugins : no whitelisted plugins (0 plugins total)
   
   Please also test the issue without Ionic and use the `window.screen` object instead.

----------------------------------------------------------------
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


[GitHub] [cordova-plugin-screen-orientation] bfan1256 commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform

Posted by GitBox <gi...@apache.org>.
bfan1256 commented on issue #62: Ionic 5.x/Screen-Orientation lock does not work on iOS platform
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/62#issuecomment-616178799
 
 
   I've seen a similar problem...

----------------------------------------------------------------
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