<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 24, 2016 at 4:00 AM, Flynn <span dir="ltr">&lt;<a href="mailto:xiang.wang3@hpe.com" target="_blank">xiang.wang3@hpe.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello all,<br>
      There are some questions about version. I&#39;m now want my app to support<br>
from android 4.1.2. So I use an emulator with this android version. I first<br>
tried the native aerogear android code example(got from Aerogear  web site<br>
and Github), the system remind me to update the google-play-service.<br>
      Now the question is if I use the Aerogear cordova push plugin, will I<br>
face the same problem? Which version of the plugin support the android<br>
4.1.2? And does this also relate to the Cordova version? Because now I&#39;m<br>
using Cordova 6 which can only use android 5.2.2 to build.<br></blockquote><div><br></div><div>I&#39;m not a Cordova expert, but I would assume that the latest Cordova Plugin works fine.  Give it a shot and let us know.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
      Another question is when the device reboot and my app hasn&#39;t started,<br>
then a push notification is sent from Aerogear. For this case, can the<br>
device receive the notification if I use the Aerogear cordova push plugin to<br>
develop my app. I tried on Android 5.1.1 seems can&#39;t receive it.<br></blockquote><div><br></div><div>I can&#39;t speak for Cordova, but with AeroGear Android native you can create in your manifest a meta-data entry which creates a handler that is set up when the push message is receieve.  This handler can start enough of your app to handle the message.  (See here :<a href="https://github.com/feedhenry-templates/pushstarter-android-app/blob/master/app/src/main/AndroidManifest.xml#L36">https://github.com/feedhenry-templates/pushstarter-android-app/blob/master/app/src/main/AndroidManifest.xml#L36</a> )<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
     Thanks.<br>
<br>
Regards,<br>
Flynn<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/The-google-play-service-version-tp972.html" rel="noreferrer" target="_blank">http://aerogear-users.1116366.<wbr>n5.nabble.com/The-google-play-<wbr>service-version-tp972.html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
</blockquote></div><br></div></div>