Thanks for your help Erik

I dont know what the problem was -  but a restart seems to have fixed it.

Crazy.

On Mon, Jan 25, 2016 at 9:37 AM, Erik Jan de Wit <edewit@redhat.com> wrote:
Strange error the files are empty and not found? Could you try it from the command line?

cordova create push-test
cd push-test
cordova plugin add aerogear-cordova-push
cordova platform add android
cordova run

both files should be found and not empty. Aerogear-push.js is the javascript interface to the plugin's native parts so that must be there otherwise it will not work. What could be the case is that you don't have cordova.js as a javascript reference in your project?

Hope this helps,

On Sat, Jan 23, 2016 at 9:14 PM, Anton Hughes <kurrent93@gmail.com> wrote:

On Sat, Jan 23, 2016 at 10:55 AM, Anton Hughes <kurrent93@gmail.com> wrote:
Hello

I am followig the guide on https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/ - and have gone through this a few times now, so I am sure I am not missing any step.

I am deploying my sample app onto genymotion, and using the chrome debugger, and I see the following error:

file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear.ajax.js Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///android_asset/www/plugins/aerogear-cordova-push/www/aerogear-push.js Failed to load resource: net::ERR_FILE_NOT_FOUND
cordova.js:1431 Uncaught Error: Module aerogear-cordova-push.AeroGear.ajax does not exist.
cordova.js:1185 deviceready has not fired after 5 seconds.
cordova.js:1178 Channel not fired: onPluginsReady
cordova.js:1178 Channel not fired: onCordovaReady

How can I fix this?

Thamks


_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
Cheers,
       Erik Jan

_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users