Closed shanselm-ergon closed 8 months ago
Please try the latest version of the plugin.
Cool, thank you very much for the fast reply. The issue with "the config not respected" is solved. The more important issue with the app not responsive anymore still exists, even with the new version.
Your reproduction example still uses version 4.2.0 which is not the latest version.
Please also update the issue description if some issues are already resolved.
I updated the description and the demo app.
I can now reproduce the issue. Unfortunately, I have no idea what the problem could be. @dtarnawsky Can you take a look at this?
Spent a few hours on this today and haven't been able to resolve it yet.
@dtarnawsky Yes, same here. I'm thinking about reverting #59. This feature is currently causing a few issues, unfortunately. :/ What do you think? Do you have any other idea?
Hi Is there any update available to this issue? Thank you
Plugin version: >= 4.1.0
Platform(s): iOS
Current behavior: Privacy screen blocks interaction with the app after it got shown. We also observed that the screen went black while leaving the app, this happened not all the time. In our case we try to share some content and if we return to the app it looks frozen to the user. App switching is still possible, the web itself is also fine, but interaction is blocked (like a glass pane will prevent interaction).
Expected behavior: Privacy screen should not impact normal app flow.
Steps to reproduce: We created a simple capacitor 5 app to demonstrate the problem. https://github.com/qHerren-Ergon/privacy-screen-demo-app Setup:
npm install
npm run build
npx cap sync ios
npx cap open ios
Reproduction:
Enable Privacy!
Share!
Our analysis: It looks like the privacy element added to the view hierarchy is not removed correctly when returning to the app (and its size is very small). This behaviour was introduced with 4.1.0 with the screenshot prevention feature. Our workaround was to use the 4.0.0 version of the plugin.
Related code: see reproduction
Other information: If the reproduction steps are not enough, we could also create a video to show the behaviour.
Capacitor doctor: