[iOs] open control menu portrait, close, rotate, open control menu landscape: blackscreen and stays like that
I have the following test which makes my app unusable. If the user use their control menu in portrait-mode or landscape-mode. Closes it. Then rotates to the other mode and opens it again it will result in a black screen. I will look tomorrow with a native developer maybe he can help me pinpoint it further. When i don't use this plugin it doesn't happen. Tested with Cordova 5.4.x and 6.0.x using PrivacyScreen version 3.0.0
Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.5
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.9.0
Xcode version: Xcode 7.3 Build version 7D152p
I can't seem to reproduce this. What do you mean by "control menu"?
Sorry, control center. [https://support.apple.com/en-us/HT202769] I will remove this plugin again to confirm.
yes confirmed on iPhone 5s, without plugin it doesn't hang.
- open app landscape (i see portrait image ([email protected]))
- open control center, you will see a black screen second time, close it
- rotate to portrait
- open control center, you can see the portrait splashscreen, close it
- rotate to landscape
- open control center, you see black screen and app hangs
also
- open app portrait
- open control center, close it
- rotate to landscape
- open control center, close it and app hangs
Maybe it hangs because it can't find the correct splashscreen (because in scenario 1 it shows the portrait version)
It doesn't happen when i only open control center in one mode only (so only landscape) and rotating to !mode again and again and opening control center in this first opened mode. Thanks for this plugin btw, it fixes our privacy requirement but now our tester found this scenario :)
Not on tablet, but on iphone for example it does
I think this has been fixed. @SquadraCorse any chance you could test using the current master?
cordova plugin add https://github.com/devgeeks/PrivacyScreenPlugin
Super! App doesn't hang anymore when using master. I will wait for your npm version, thanks!