Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOs] open control menu portrait, close, rotate, open control menu landscape: blackscreen and stays like that #20

Open
SquadraCorse opened this issue May 8, 2016 · 7 comments

Comments

@SquadraCorse
Copy link

SquadraCorse commented May 8, 2016

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 
@devgeeks
Copy link
Owner

I can't seem to reproduce this. What do you mean by "control menu"?

@SquadraCorse
Copy link
Author

Sorry, control center. [https://support.apple.com/en-us/HT202769] I will remove this plugin again to confirm.

@SquadraCorse
Copy link
Author

SquadraCorse commented May 10, 2016

yes confirmed on iPhone 5s, without plugin it doesn't hang.

  1. open app landscape (i see portrait image ([email protected]))
  2. open control center, you will see a black screen second time, close it
  3. rotate to portrait
  4. open control center, you can see the portrait splashscreen, close it
  5. rotate to landscape
  6. open control center, you see black screen and app hangs

also

  1. open app portrait
  2. open control center, close it
  3. rotate to landscape
  4. 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)

@SquadraCorse
Copy link
Author

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

@SquadraCorse
Copy link
Author

Not on tablet, but on iphone for example it does

@devgeeks
Copy link
Owner

I think this has been fixed. @SquadraCorse any chance you could test using the current master?

cordova plugin add https://github.com/devgeeks/PrivacyScreenPlugin

@SquadraCorse
Copy link
Author

SquadraCorse commented Jul 27, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants