[Aerogear-users] aerogear-cordova-push

Erik Jan de Wit edewit at redhat.com
Wed Oct 12 02:31:31 EDT 2016


and be sure to have cordova.js in your index.html like so:

<script type="text/javascript" src="cordova.js"></script>

This will load the plugins, but it will only work in a simulator or on a
device.

On Tue, Oct 11, 2016 at 7:13 PM, Julio Cesar Sanchez Hernandez <
jusanche at redhat.com> wrote:

> 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
>>
>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>


-- 
Cheers,
       Erik Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161012/b06d07df/attachment.html 


More information about the Aerogear-users mailing list