This question is locked. New answers and comments are not allowed.
All,
I have been trying in vain to get the Push plugin to work on my GeoAPITestApp2 project. I have followed the documentation, and still get no error but my app doesn't get past the pushPlugin = window.plugins.pushNotification line. My files are located here.
What I have done so far:
1) Successfully created my adhoc certificate, valid until August 2014
2) Successfully imported my adhoc certificate into Mist.
3) Added the Push Plugin according to the directions from documentation entitled "Enable and Configure Integrated Plugins". This created a Plugins folder named "com.phonegap.plugins.pushPlugin-1.2.2"
4) Based on the documentation notice "Starting with Icenium 1.7, Icenium maintains integrated plugins as custom Apache Cordova plugins. For more information, see Working with Custom Plugins" I went to that section
5) I checked the plugin.xml for the asset line and added the include line in my index.html file
6) I build my app using my adhoc profile.
7) I download the app.ipa file.
8) I upload the app.ip file to TestFlight
9) I load the app.ipa file on my device through TestFlight
When I run my app, it hangs at the line pushNotification = window.plugins.pushNotification; I am thinking for some reason the js file is not found, but I can't seem to get this right, and I have no errors in my console.
If anyone can provide some additional instruction or guidance, I'd appreciate it.
Thanks,
B
I have been trying in vain to get the Push plugin to work on my GeoAPITestApp2 project. I have followed the documentation, and still get no error but my app doesn't get past the pushPlugin = window.plugins.pushNotification line. My files are located here.
What I have done so far:
1) Successfully created my adhoc certificate, valid until August 2014
2) Successfully imported my adhoc certificate into Mist.
3) Added the Push Plugin according to the directions from documentation entitled "Enable and Configure Integrated Plugins". This created a Plugins folder named "com.phonegap.plugins.pushPlugin-1.2.2"
4) Based on the documentation notice "Starting with Icenium 1.7, Icenium maintains integrated plugins as custom Apache Cordova plugins. For more information, see Working with Custom Plugins" I went to that section
5) I checked the plugin.xml for the asset line and added the include line in my index.html file
6) I build my app using my adhoc profile.
7) I download the app.ipa file.
8) I upload the app.ip file to TestFlight
9) I load the app.ipa file on my device through TestFlight
When I run my app, it hangs at the line pushNotification = window.plugins.pushNotification; I am thinking for some reason the js file is not found, but I can't seem to get this right, and I have no errors in my console.
If anyone can provide some additional instruction or guidance, I'd appreciate it.
Thanks,
B