[Aerogear-users] aerogear-cordova-push

Julio Cesar Sanchez Hernandez jusanche at redhat.com
Tue Oct 11 13:13:07 EDT 2016


Hi.

You don't have to reference any of the plugin .js files in your index.html,
they are loaded by Cordova.
Remove them from the index.html and try again.


On Tue, Oct 11, 2016 at 7:08 PM, lumaruma <martin-h.gross at hpe.com> wrote:

> Hi Aerogear team,
>
> I am trying to get your Cordova demo example with Plugin
> Aerogear-cordova-push  (3.0.1) running in my app. But got back following
> exception:
>  -->"Uncaught ReferenceError: push is not defined"
>
> If referencing the java scripts "aerogear.ajax.js" and "aerogear-push.js"
> directly in index.html, i got following error message:
>  --> "Uncaught TypeError: Cannot read property 'register' of undefined"
>
> Please could you help me here?!
>
> Thanks and best regards
> Martin Gross
>
>
>
>
>
> --
> View this message in context: http://aerogear-users.1116366.
> n5.nabble.com/aerogear-cordova-push-tp925.html
> Sent from the aerogear-users mailing list archive at Nabble.com.
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161011/53c66237/attachment.html 


More information about the Aerogear-users mailing list