<div dir="ltr">Hi Rodrigo,<div><br></div><div>These dependencies are downloaded and installed with gradle when you run &#39;cordova build&#39; There is no need to open it in Eclipse. </div><div><br></div><div>If you want to change things and need and IDE I would advise you to use Android Studio.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 24, 2015 at 4:14 PM, Rodrigo Del Canto <span dir="ltr">&lt;<a href="mailto:delkant@gmail.com" target="_blank">delkant@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">Hi Erik,<div><br></div><div>Thanks for your reply.</div></span><div><span class=""><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Actually I&#39;m experiencing some issues,  </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">This is my configuration: </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">1. mac os x</div><div style="font-size:12.8000001907349px"><p>2. $ cordova -v</p><p>5.1.1</p></div><div style="font-size:12.8000001907349px"> 3. <span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:13.6000003814697px;line-height:1.45;background-color:rgb(247,247,247)">cordova plugin add </span><span style="color:inherit;font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:inherit;white-space:pre-wrap;line-height:1.42857143;background-color:transparent"><a href="https://github.com/aerogear/aerogear-pushplugin-cordova.git" target="_blank">https://github.com/aerogear/aerogear-pushplugin-cordova.git</a></span></div><div style="font-size:12.8000001907349px"><span style="color:inherit;font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:inherit;white-space:pre-wrap;line-height:1.42857143;background-color:transparent"><br></span></div><div><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:13.6000003814697px;line-height:19.7199993133545px">4. I import  to eclipse  the  android project to build it there.</span></font><br></div><div style="font-size:12.8000001907349px"><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:13.6000003814697px;line-height:1.45;background-color:rgb(247,247,247)"><br></span></div><div style="font-size:12.8000001907349px"><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:13.6000003814697px;line-height:1.45;background-color:rgb(247,247,247)">and I got these dependencies errors: </span></div><div style="font-size:12.8000001907349px"><p>- The import android.support cannot be resolved</p></div></span><div style="font-size:12.8000001907349px"><span class=""><p>- The import org.jboss.aerogear.android cannot be resolved</p></span><p><img src="cid:ii_14ebb68b581888e8" alt="Inline image 1" width="544" height="172"></p></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 24, 2015 at 3:13 AM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">These instructions should work regardless of the platform:<div><br></div><div><a href="https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/" target="_blank">https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/</a><br></div><div><br></div><div>Or do you have some specific error?</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 23, 2015 at 7:12 PM, Rodrigo Del Canto <span dir="ltr">&lt;<a href="mailto:delkant@gmail.com" target="_blank">delkant@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>is there a place where I can follow instructions to make aerogear-cordova-push to work with android ?</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 17, 2015 at 6:46 PM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">the newer (2.x) version introduces some new functionality like metrics and is compatible with the newer UPS</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 17, 2015 at 4:16 PM, Fabio Turizo <span dir="ltr">&lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, tested it with that version and passed the build on all platforms. A question, this version has the same funcionality as v2.0.2 and only differs in the build system used for android?</div><div><div><br><div class="gmail_quote"><div dir="ltr">El vie., 17 de jul. de 2015 a la(s) 8:54 a. m., Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">No, I mean the aerogear-cordova-push plugin there is also a 1.0.4 version that doesn&#39;t depend on gradle and will work with phonegap<div><br></div><div><a href="https://github.com/aerogear/aerogear-cordova-push/releases/tag/1.0.4" target="_blank">https://github.com/aerogear/aerogear-cordova-push/releases/tag/1.0.4</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 17, 2015 at 3:24 PM, Fabio Turizo <span dir="ltr">&lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">When you refer that i could use version 1.0.4 of the plugin, are you referring to the Promise Plugin? In that case do I have to specify this dependency in the config.xml?<div><div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr">El vie., 17 de jul. de 2015 a la(s) 3:43 a. m., Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That is because the new android library is using gradle and that is only supported in android platform 4. You could use version 1.0.4 of the plugin depending on what version of aerogear you are using.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 15, 2015 at 4:31 PM, Fabio Turizo <span dir="ltr">&lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings Eric. I was wondering if you were able to check this issue and if there&#39;s an available solution</div><div><div><br><div class="gmail_quote"><div dir="ltr">El vie., 10 de jul. de 2015 a la(s) 9:12 a. m., Fabio Turizo &lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Many thanks for your assistance! I tested it with version 2.0.2  and the build was succesful for iOS, but in android this error comes by:<div><br></div><i></i></div><div dir="ltr"><i>Error - Plugin error (you probably need to remove plugin files from your app): <br></i></div><div dir="ltr"><i>npm http GET <a href="https://registry.npmjs.org/aerogear-cordova-push/2.0.2" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/2.0.2</a> npm http 200 <a href="https://registry.npmjs.org/aerogear-cordova-push/2.0.2" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/2.0.2</a> <br>npm http GET <a href="https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.2.tgz" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.2.tgz</a> <br>npm http 200 <a href="https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.2.tgz" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.2.tgz</a> </i><br><br><br><i>Failed to install &#39;org.jboss.aerogear.cordova.push&#39;:CordovaError: Plugin doesn&#39;t support this project&#39;s cordova-android version. cordova-android: 3.7.1, failed version requirement: &gt;=4.0.0 at checkEngines (/home/ec2-user/.npm/lib/node_modules/plugman-npm/node_modules/cordova-lib/src/plugman/install.js:116:29) at /home/ec2-user/.npm/lib/node_modules/plugman-npm/node_modules/cordova-lib/src/plugman/install.js:289:16 at _fulfilled (/home/ec2-user/.npm/lib/node_modules/plugman-npm/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/home/ec2-user/.npm/lib/node_modules/plugman-npm/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/home/ec2-user/.npm/lib/node_modules/plugman-npm/node_modules/q/q.js:749:13) at /home/ec2-user/.npm/lib/node_modules/plugman-npm/node_modules/q/q.js:557:44 at flush (/home/ec2-user/.npm/lib/node_modules/plugman-npm/node_modules/q/q.js:108:17) at process._tickCallback (node.js:442:13) Plugin doesn&#39;t support this project&#39;s cordova-android version. cordova-android: 3.7.1, failed version requirement: &gt;=4.0.0</i><div><br></div><div>I&#39;d greatly appreciate if you can fix this bug as well. </div><div>Again, many thanks for your help.</div></div><div dir="ltr"><div><br><div class="gmail_quote"><div dir="ltr">El vie., 10 de jul. de 2015 a la(s) 3:56 a. m., Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Fabio,<div><br></div><div>I meant to say that you can upgrade your account to get 3rd party plugins, but it seems that you already have that. What you have know is an error in the dependency of the push plugin all the plugins are moving to npm and changing there id to match npm. There is a mapping function, but it seems that the promise plugin is not using that. This bug is fixed in master I&#39;m doing a release now version 2.0.2 will be available when you read this mail</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 9, 2015 at 10:55 PM, Fabio Turizo <span dir="ltr">&lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well, i&#39;m not exactly sure if i could pay them to put the plugin in the platform. Looking at the site nothings comes up abput this.<div><br><div>For the moment i tried reading their documentation and Phonegap Build supports 3rd party plugins by specifying the source of the plugin as npm in the config.xml declaration:<br><div><br></div><div><i>&lt;gap:plugin name=&quot;aerogear-cordova-push&quot; source=&quot;npm&quot; version=&quot;2.0.1&quot;/&gt;</i><br></div><div><br></div><div>This works well as Phonegap Build detects this plugin when the application is uploaded, but the build fails for both iOS and Android with this error:</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:Monaco,Courier,monospace;font-size:12px;line-height:normal;background-color:rgb(238,170,170)">Error - Plugin error (you probably need to remove plugin files from your app): npm http GET <a href="https://registry.npmjs.org/aerogear-cordova-push/2.0.1" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/2.0.1</a> npm http 200 <a href="https://registry.npmjs.org/aerogear-cordova-push/2.0.1" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/2.0.1</a> npm http GET <a href="https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.1.tgz" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.1.tgz</a> npm http 200 <a href="https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.1.tgz" target="_blank">https://registry.npmjs.org/aerogear-cordova-push/-/aerogear-cordova-push-2.0.1.tgz</a> Failed to install &#39;org.jboss.aerogear.cordova.push&#39;:Error: Expected plugin to have ID &quot;com.vladstirbu.cordova.promise&quot; but got &quot;es6-promise-plugin&quot;. at checkID (/usr/local/lib/node_modules/plugman-npm/node_modules/cordova-lib/src/plugman/fetch.js:164:15) at /usr/local/lib/node_modules/plugman-npm/node_modules/cordova-lib/src/plugman/fetch.js:148:9 at _fulfilled (/usr/local/lib/node_modules/plugman-npm/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/local/lib/node_modules/plugman-npm/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/plugman-npm/node_modules/q/q.js:749:13) at /usr/local/lib/node_modules/plugman-npm/node_modules/q/q.js:557:44 at flush (/usr/local/lib/node_modules/plugman-npm/node_modules/q/q.js:108:17) at process._tickCallback (node.js:419:13) Expected plugin to have ID &quot;com.vladstirbu.cordova.promise&quot; but got &quot;es6-promise-plugin&quot;</span><br></div><div><span style="color:rgb(34,34,34);font-family:Monaco,Courier,monospace;font-size:12px;line-height:normal;background-color:rgb(238,170,170)"><br></span></div><div>By looking in the npm repositories effectively i see that there is a Promise plugin of ID <b>es6-promise-plugin </b>but it seems the dependency for the plugin is declared as <b>com.vladstirbu.cordova.promise </b>so the build fails.</div><div><br></div><div>Any idea is this could be fixed and how?</div></div></div><div><div><br><div class="gmail_quote"><div dir="ltr">El jue., 9 de jul. de 2015 a la(s) 12:54 a. m., Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt; escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;ve tried to get our plugin into Phonegap build, but it never got accepted nor declined. But if you pay them I think you are able to use any plugin you want.</div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 9, 2015 at 1:35 AM, Fabio Turizo <span dir="ltr">&lt;<a href="mailto:fabio.turizo@gmail.com" target="_blank">fabio.turizo@gmail.com</a>&gt;</span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I noticed that there&#39;s no equivalent for the aerogear cordova push plugin in the Phonegap Build plugin repository. Is there any way to use it with phonegap build? It&#39;d be a waste if it&#39;s not possible.</div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
</blockquote></div></div></div></div>
<br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
</blockquote></div></div></div></blockquote></div>
</div></div><br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
</blockquote></div></div></div></div>
<br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>
</div></div><br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>
</div></div><br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<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/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Cheers,<div>       Erik Jan</div></div></div>
</div>