PrivacyScreenPlugin
PrivacyScreenPlugin copied to clipboard
PrivacyScreenPlugin (pluginName: privacyscreenplugin) does not exist. - IOS
Hello, we're using your plugin on our project. Recentely we updated the latest (master / 0.10) version, and we got an error on XCode, and application stop working.
These is the stack trace from Xcode debugger:
2014-11-05 18:55:46.089 Jumy[968:60b] [CDVTimer][file] 18.669963ms 2014-11-05 18:55:46.207 Jumy[968:60b] [CDVTimer][splashscreen] 115.970016ms 2014-11-05 18:55:46.208 Jumy[968:60b] CDVPlugin class PrivacyScreenPlugin (pluginName: privacyscreenplugin) does not exist. 2014-11-05 18:55:46.210 Jumy[968:60b] [CDVTimer][privacyscreenplugin] 1.707971ms 2014-11-05 18:55:46.211 Jumy[968:60b] [CDVTimer][TotalPluginStartup] 140.785038ms 2014-11-05 18:55:46.262 Jumy[968:60b] active 2014-11-05 18:55:47.122 Jumy[968:60b] Resetting plugins due to page load. 2014-11-05 18:55:47.592 Jumy[968:60b] Finished load of: file:///var/mobile/Applications/337F9DFE-B342-40D0-AC9F-7CDB0EE2DA34/Test.app/www/index.html
Using an old version, like 0.0.5 it work.
May you help us? Thank you!
Denis
This looks more like a well known (and hated) iOS platform bug in the plugin part of the CLI (Plugman).
Maybe look at this and see if it can help:
http://stackoverflow.com/a/23934073
@denistorresan - any luck?
We rolled back to #0.0.5, let us to test the latest version, I'll let you soon, thank you for your support!
Hello @devgeeks, Sorry for delay. I tryed solving the problem with the link you mentioned, but no luck. So I decided to rollback to 0.0.5 and it work. What I figure out is that the message "class PrivacyScreenPlugin does not exist" is always present (also on 0.0.5), so seems not related to the problem.
The main problem is that when the app is running for first time all is ok, but when is putted on background, than click for resume, the splash screen is displayed and there's no way to remove it (we wait many minutes without luck). So the problem can be replicated in this way:
- install the app and run first time --> all ok
- put in background --> all ok, the task manager show the splash screen instead app content
- resume the app --> KO, the splash screen is displayed indefinitely and the app stop working.
Tested on real iPhone 4S, IOS 7.1.2, Cordova 3.7.0.
Same issue here. Also persists with 0.0.5. In XCode the relevant .m is appropriately actived. But the bigger problem is, that you still can make screenshots on iOS.
@FPSE As far as I know, even snapchat has problems trying to stop screenshots in iOS