Open BenjaminHorn opened 9 years ago
I have the same problem (((
To everyone having the same problem: look at s2young's comment in #119
"This appears to work for me as well, however when I use the 'cordova serve' option the xml file is rebuilt (excluding this fix). Therefore, using the Phonegap Developer App (http://app.phonegap.com/) to debug my app is out the door until this is truly fixed."
That solved my issue.
Any further information on this issue? I just encountered this problem and been trying to solve it for over a day with no results.
I solved it just deleting platforms\android\ant-build\res\xml\config.xml, it looks like cordova wasn't updating the final config.xml so it didn't include the plugin reference.
I'm struggling to get the example to work.
When I run the application I get the following result:
CORDOVA PUSH NOTIFICATION PLUGIN DEMO DEVICE READY EVENT RECEIVED REGISTERED ANDROID ERROR: CLASS NOT FOUND
Just as described in issue #119 . As javapenguin suggested i added
< plugin name="PushPlugin" value="com.plugin.gcm.PushPlugin" />
to config.xml but I still got the problem.
BTW: there is two config,xml : one in the project's root and one in root/platforms/android/res/xml What is the different between of them?
But every time I rebuild
The plugin line got deleted. (only from root/platforms/android/res/xml/config.xml)
There is an another thing: In the config.xml I see lines like
which differ from the suggested plugin line. Is this a newer version to add plugins?
I added the three plugins by CLI:
And they are in the plugins folder.