OK, the real gotcha was...
https://issues.jboss.org/browse/AGPUSH-525
There were some smaller issues:
- I found the readme.md to be inaccurate
- the video is incomplete
http://www.youtube.com/watch?v=a7QVWfEkSpc
i watched it several times last week, pausing, trying to tease out the commands needed to
replicate the experience
- I believe iOS also requires the console plugin be installed - as device ready was
failing due to the console.log the sample app contains.
- Hand editing the config.xml to provide the App Name and package/bundleID I wanted did
not seem to "stick" - I was better off using the command line like so:
cordova create hellopush com.burrsutter.hellopush "Hello Push"
instead
cordova create hellopush and editing the config.xml that was generated
on Android 2.3, the app loads but blows up on launch
https://issues.jboss.org/browse/AGPUSH-526
And there is inconsistency between iOS and Android
https://issues.jboss.org/browse/AGPUSH-527
And can we "hide" the older UPS docs that focus on curl and bring the ones that
focus on the web UI to the foreground?
For instance, at the bottom of this page:
http://aerogear.org/docs/guides/aerogear-push-android/google-setup/
it links to the curl version - curl is great, but more of an advanced topic
this is the doc that needs more link love
http://aerogear.org/docs/guides/AdminConsoleGuide/
I attempted to document the complete set of steps in my readme.txt
https://github.com/burrsutter/hellopush
I suspect I forgot something along the way
On Jan 28, 2014, at 1:25 PM, Burr Sutter <bsutter(a)redhat.com> wrote:
https://github.com/aerogear/aerogear-pushplugin-cordova/
My project/notes in the readme.md - it could be that I have missed a step, so I tried to
describe my steps carefully in the readme, everything from the command line right now - I
will attempt JBoss Tools once the command line steps seem to work.
https://github.com/burrsutter/hellopush
I have also tested with
https://github.com/edewit/aerogear-pushplugin-cordova/tree/agdroid-195
It only works on Android 4.3, funny enough that was the first device I tried - perhaps
there is some "affinity" for a single device? :-)
It fails on:
Android 2.3.4
Android 4.4.2 (two different devices)
iOS 6.1.5
iOS 7.0.4
Let's define "fail":
- the app always deploys but...
- the additional devices never register a device token in the UPS console. I assume I
will see "instances" for the various devices
- in the case of iOS, the deviceready does not even fire correctly
- in the case of Android (all versions), the onError handler is called with "no
value for pushconfig" - including the 4.3 where things do work.
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev