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

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

Open
denistorresan opened this issue Nov 6, 2014 · 6 comments

Comments

@denistorresan
Copy link

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

@devgeeks
Copy link
Owner

devgeeks commented Nov 6, 2014

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

@denistorresan - any luck?

@denistorresan
Copy link
Author

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
Copy link
Author

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.

@FPSE
Copy link

FPSE commented Feb 1, 2015

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.

@devgeeks
Copy link
Owner

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

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

No branches or pull requests

3 participants