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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users