Cordova plugins only work with live reload!


#1

Hello everyone, I have an ionic app with cordova plugins that runs smoothly on android in live reload mode when I execute this command:
$ ionic run android -c -l
however when I try to run the app with just:
$ ionic run android
or
$cordova run android
the events : deviceready and $ionicPlatform.ready are never fired
the problem also happens when I build and sign my app and deploy it on real device.
Please any Ideas what could be the problem ? and how to resolve it ?


#2

I solved the problem by removing this plugin https://github.com/katzer/cordova-plugin-local-notifications.git


#3

Just curious – how did you get the cordova plugins to work with livereload? Anything special? I can run livereload just fine but none of my plugins work (like InAppBrowser, etc) – see here:

Thanks,
Marc