marknutter / GCM-Cordova

PhoneGap plugin for Google C2DM
134 stars 78 forks source link

Installation instructions unclear #15

Open wafflemoon opened 9 years ago

wafflemoon commented 9 years ago

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...

MatthewSmythe commented 9 years ago

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

ezequielrozen commented 9 years ago

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

Thnx!