Cordova plugins not working with livereload on device


#1

Trying out livereload, and so far it is working – which is very promising. However, cordova plugins do not appear to be working, which is a dealbreaker because my Auth solution currently uses InAppBrowser. (Changing eventually, but not yet.) If I can’t auth in my app, I can’t do anything. Furthermore, livereload on a device is pointless if we can’t get the added benefit of device plugins. The livereload blog post didn’t show any additonal setup, but that said, I’m sure I’ve missed a step somewhere.

It appears in my chrome inspector that Cordova.js is not loading. For example:

“C:\Users[repo]\node_modules\ionic-native\dist\esm\plugins\plugin.js:46 Native: tried calling Splashscreen.hide, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator”

Any thoughts?

Thanks,
Marc


Cordova plugins only work with live reload!
#2

Solved – by updating to app-scripts 0.48