-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ERROR: Plugin 'PushNotification' not found #568
Comments
After you added this plugin to your iOS platform, did you see the plugin folder is inside it ?
Do you added also the following property in your config.xml file ?
|
I had all this .. |
@charpin by chance do you know why it's necessary to add this feature in config.xml? I don't remember it was needed before |
@slorber they probably weren't using a late enough version of cordova-ios and added it manually. If you are using 1.6.x use cordova-ios 4 or better, for 1.7.x use cordova-ios 4.1 or better. |
Yes i just found the incompatibility issue somewhere else thanks :) In the future maybe you could add a warning in the console iif you detect an io platform < 4.x ? |
@slorber there is a warning.
|
hmmm sorry missed it :) Actually I was looking for a console warning, because my platform prepare has so many logs of other plugins that I never read the output unless there's a stack |
This thread has been automatically locked. |
Hi guys,
I'm sorry i have to ask for help, i spent almost a day on this and i can't find where the problem is.
I added phonegap-plugin-push, built ios, wrote in my js file :
Problem is when i build it on xCode and test it on a REAL device, i get the following error:
ERROR: Plugin 'PushNotification' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
So: -I tried to touch to config.xml, in spite of the fact that i read on other issues that it should be automatic, i wrote what is advised at https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PHONEGAP_BUILD.md and nothing changed.
It's driving me crazy, i can't even get a registration number or a "classical" error.
I got all the registration stuff done, both for apns and gcm.
I tried multiple times to update cordova, call other .js, rebuild platforms, without success.
I might have read 90% of all the issues, and the only ones related to this problem are from the deprecated plugin (which i never used), and when i test the solutions described they don't work ..
I am waiting for the "deviceready" too.
Thanks for help.
The text was updated successfully, but these errors were encountered: