<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><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">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>