[Aerogear-users] Using Aerogear PushPlugin with Phonegap Build
Erik Jan de Wit
edewit at redhat.com
Fri Jul 10 04:56:04 EDT 2015
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'm
doing a release now version 2.0.2 will be available when you read this mail
On Thu, Jul 9, 2015 at 10:55 PM, Fabio Turizo <fabio.turizo at gmail.com>
> Well, i'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.
> 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:
> *<gap:plugin name="aerogear-cordova-push" source="npm" version="2.0.1"/>*
> 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:
> Error - Plugin error (you probably need to remove plugin files from your
> app): npm http GET https://registry.npmjs.org/aerogear-cordova-push/2.0.1
> npm http 200 https://registry.npmjs.org/aerogear-cordova-push/2.0.1 npm
> http GET
> npm http 200
> Failed to install 'org.jboss.aerogear.cordova.push':Error: Expected plugin
> to have ID "com.vladstirbu.cordova.promise" but got "es6-promise-plugin".
> at checkID
> at _fulfilled
> (/usr/local/lib/node_modules/plugman-npm/node_modules/q/q.js:787:54) at
> (/usr/local/lib/node_modules/plugman-npm/node_modules/q/q.js:816:30) at
> (/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
> "com.vladstirbu.cordova.promise" but got "es6-promise-plugin"
> By looking in the npm repositories effectively i see that there is a
> Promise plugin of ID *es6-promise-plugin *but it seems the dependency for
> the plugin is declared as *com.vladstirbu.cordova.promise *so the build
> Any idea is this could be fixed and how?
> El jue., 9 de jul. de 2015 a la(s) 12:54 a. m., Erik Jan de Wit <
> edewit at redhat.com> escribió:
>> I'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.
>> On Thu, Jul 9, 2015 at 1:35 AM, Fabio Turizo <fabio.turizo at gmail.com>
>>> I noticed that there'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'd be a waste if it's not possible.
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org
>> Erik Jan
>> Aerogear-users mailing list
>> Aerogear-users at lists.jboss.org
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Aerogear-users