-
Notifications
You must be signed in to change notification settings - Fork 26
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
bug: Screen remains black after closing/opening app #78
Comments
This seems to be different for iPhone / iPad. Indeed everything works fine on the iPhone, but when I try the same with the iPad simulator the problem exists. Can you try and see if you can reproduce the issue when simulating an iPad? |
Thanks, i can reproduce this issue with iPadOS 16.4. |
Hi, maybe I am facing the same issue on MacOS. With Plugin Version >= 4.0.0 an Capacitor 5, I am not able to use the App on MacOS anymore. The App opens correctly at startup, but with the first click anywhere, the App becomes black. Can you reproduce this as well? Regards |
Hi Tobias, Maybe you can try of my PR fixes your issue as well? https://github.com/reinventit/privacy-screen/tree/fix-black-screen Regards, |
Does the problem still exist with the latest version? |
It looks like there hasn't been a reply in 30 days, so I'm closing this issue. |
Plugin version:
4.2.1
Platform(s):
iOS (at least 16.4)
Current behavior:
When closing the app and re-opening, the screen remains black.
Expected behavior:
App should be renderend again
Steps to reproduce:
Open app, close app and re-open again
Related code:
It seems to be caused by the way modalPresentationStyle of the privacyViewController. It is currently set to 'overFullScreen' and this causes the underlaying view to be unloaded. If we change this to 'fullScreen' everything seems to be working.
Not working for me:
Working correctly for me:
Other information:
Capacitor doctor:
The text was updated successfully, but these errors were encountered: