marknutter/GCM-Cordova

Installation instructions unclear

Opened this issue · 2 comments

1 "Add the com.google.android.gcm and com.plugin.GCM packages to your project." -
cordova plugins add com.google.android.gcm
cordova plugins add com.plugin.GCM
both return error - how am I supposed to add these packages?

2 "Add the GCMIntentService.java file to your application's main package."
Where do I get the GCMIntentService.java that author means -
GCM-ordova/src/com/cordova2/gcm/GCMIntentService.java in the plugins source?
In what folder is "application's main package" under my Cordova project?

I am not too experienced with cordova yet, sorry if stupid questions...

Hi Wafflemoon - did you come right with this?

I believe you should be able to run: cordova local plugin add https://github.com/marknutter/GCM-Cordova.git from your command line. I'm however also experiencing issues with this (only really been working with Cordova for a day or so).

I find when I run this command that I still get an error for not finding the plugin.xml file.

Cheers,
Matt

I'm having the same problem. Please anybody can help me? I can't install both plugins.

Thnx!