Reputation: 708
I am trying to setup a Phonegap (v3.0.0) project with push notifications through Apigee and build the project using Phonegap Build using the command line interface.
Here is what I have so far:
I installed Phonegap on my Windows following these directions. http://phonegap.com/install/
I used the Phonegap command interface to create a project. http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface
I downloaded the Apigee Phonegap PushPlugin from Github and added the plugin to my project using the command line interface. https://github.com/apigee/appservices-phonegap-push-plugin
I followed the Apigee push notifications tutorial to setup Apigee and Google notification service. http://apigee.com/docs/usergrid/content/tutorial-push-notifications
This is where I get lost... I am trying to follow the Apigee phonegap android sample app but the tutorial file structure and the file structure of the current phonegap project is completely different. https://github.com/apigee/appservices-phonegap-android-push-example
Which files do I need to use from the Apigee demo app and where do I include them in my current phonegap project? I tried to follow the directions to configure the Apigee PushPlugin but during build Phonegap tells me the plugin is invalid and not supported.
Can someone help and offer me step by step instructions which files I should configure, copy and where in order to build the project using Phonegap Build and so the device sender id that is generated successfully gets sent to Apigee?
Thank you PG
Upvotes: 0
Views: 1096
Reputation: 21
The current Push notification plugin was made to be used with PhoneGap 2.6, so you will need the older version of PhoneGap for this to work. Once you are running 2.6, you should be able to get it running with the instructions in the readme.
Upvotes: 2