PrivacyScreenPlugin icon indicating copy to clipboard operation
PrivacyScreenPlugin copied to clipboard

PrivacyScreenPlugin (pluginName: privacyscreenplugin) does not exist. - IOS

Open denistorresan opened this issue 10 years ago • 6 comments

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

denistorresan avatar Nov 06 '14 08:11 denistorresan

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

devgeeks avatar Nov 06 '14 17:11 devgeeks

@denistorresan - any luck?

devgeeks avatar Nov 22 '14 21:11 devgeeks

We rolled back to #0.0.5, let us to test the latest version, I'll let you soon, thank you for your support!

denistorresan avatar Nov 24 '14 11:11 denistorresan

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:

  1. install the app and run first time --> all ok
  2. put in background --> all ok, the task manager show the splash screen instead app content
  3. 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.

denistorresan avatar Dec 17 '14 17:12 denistorresan

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 avatar Feb 01 '15 13:02 FPSE

@FPSE As far as I know, even snapchat has problems trying to stop screenshots in iOS

devgeeks avatar Apr 29 '16 12:04 devgeeks