<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">My next round of testing, when is onNotification called, please help me think through the scenarios<div>1) Android: when the app is up and in the foreground - yes</div><div>2) iOS: when the app is up and in the foreground - yes</div><div>3) Android: when the app is not on - yes (user killed the app)</div><div>4) iOS: when the app is not on - yes (user killed the app)</div><div>5) Android: when device is on its "lock screen"/screen off - yes - android vibrates</div><div>6) * iOS: when device is on its "lock screen"/screen off - sometimes - iOS displays message on lock screen</div><div>7) Android: when app is on but in the background - yes</div><div>8) ** iOS: when app is on but in the background - NO</div><div><br></div><div>* seems to depend on how long the device has had its screen off</div><div>** this one seems to be a problem - as demonstrated in this video</div><div><a href="http://screencast.com/t/gtORCvRtNy">http://screencast.com/t/gtORCvRtNy</a></div><div>It seems to me that the iOS app, in the background, should still have its onNotification method called to update its UI</div><div><br></div><div>My sample project deployed across all devices</div><div><a href="https://github.com/burrsutter/hellopush">https://github.com/burrsutter/hellopush</a></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Jan 29, 2014, at 9:59 AM, Jay Balunas <<a href="mailto:jbalunas@redhat.com">jbalunas@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Wow, this is a detailed investigation! Thanks a lot for digging in like this and the jiras!<div><br></div><div>I think getting these addressed, and other UX items for getting started is a big priority for us going forward. As well as how to catch these issues sooner.<br><div><br><div><div>On Jan 28, 2014, at 6:05 PM, Burr Sutter <<a href="mailto:bsutter@redhat.com">bsutter@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">OK, the real gotcha was...<div><a href="https://issues.jboss.org/browse/AGPUSH-525">https://issues.jboss.org/browse/AGPUSH-525</a></div><div><br></div><div>There were some smaller issues:</div><div>- I found the readme.md to be inaccurate</div><div>- the video is incomplete <a href="http://www.youtube.com/watch?v=a7QVWfEkSpc">http://www.youtube.com/watch?v=a7QVWfEkSpc</a></div><div>i watched it several times last week, pausing, trying to tease out the commands needed to replicate the experience</div><div>- I believe iOS also requires the console plugin be installed - as device ready was failing due to the console.log the sample app contains.</div><div>- 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:</div><div>cordova create hellopush com.burrsutter.hellopush "Hello Push"</div><div>instead</div><div>cordova create hellopush and editing the config.xml that was generated</div><div><br></div><div>on Android 2.3, the app loads but blows up on launch</div><div><a href="https://issues.jboss.org/browse/AGPUSH-526">https://issues.jboss.org/browse/AGPUSH-526</a></div><div><br></div><div>And there is inconsistency between iOS and Android</div><div><a href="https://issues.jboss.org/browse/AGPUSH-527">https://issues.jboss.org/browse/AGPUSH-527</a></div><div><br></div><div>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?</div><div>For instance, at the bottom of this page:</div><div><a href="http://aerogear.org/docs/guides/aerogear-push-android/google-setup/">http://aerogear.org/docs/guides/aerogear-push-android/google-setup/</a></div><div>it links to the curl version - curl is great, but more of an advanced topic</div><div>this is the doc that needs more link love</div><div><a href="http://aerogear.org/docs/guides/AdminConsoleGuide/">http://aerogear.org/docs/guides/AdminConsoleGuide/</a></div><div><br></div><div><br></div><div>I attempted to document the complete set of steps in my readme.txt</div><div><a href="https://github.com/burrsutter/hellopush">https://github.com/burrsutter/hellopush</a></div><div><br></div><div>I suspect I forgot something along the way</div><div><br></div><div><br><div><div>On Jan 28, 2014, at 1:25 PM, Burr Sutter <<a href="mailto:bsutter@redhat.com">bsutter@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><a href="https://github.com/aerogear/aerogear-pushplugin-cordova/">https://github.com/aerogear/aerogear-pushplugin-cordova/</a><div>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.</div><div><a href="https://github.com/burrsutter/hellopush">https://github.com/burrsutter/hellopush</a></div><div><br></div><div>I have also tested with</div><div><a href="https://github.com/edewit/aerogear-pushplugin-cordova/tree/agdroid-195">https://github.com/edewit/aerogear-pushplugin-cordova/tree/agdroid-195</a></div><div><br></div><div>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? :-)</div><div><br></div><div>It fails on:</div><div>Android 2.3.4</div><div>Android 4.4.2 (two different devices)</div><div>iOS 6.1.5</div><div>iOS 7.0.4</div><div><br></div><div>Let's define "fail":</div><div>- the app always deploys but...</div><div>- the additional devices never register a device token in the UPS console. I assume I will see "instances" for the various devices</div><div>- in the case of iOS, the deviceready does not even fire correctly </div><div>- 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.</div><div><br></div><div><br></div><div><br></div></div>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote></div><br></div></div>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote></div><br></div></div></div>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></div></body></html>