I’m trying to test my app on an Android device with versions:
I’ve set up and built my app APK like so:
ionic cordova platform add android ionic cordova build android
This builds successfully and I can copy the APK from:
to my phone.
But when I use the Chrome inspector on my laptop to remote inspect the app running on my phone, I notice the following warning:
vendor.js:69933 Native: tried calling StatusBar.overlaysWebView, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
Furthermore, when I add a
console.log(this.platform._platforms) (usign the
PlatformProvider) it prints:
["mobile", "android", "phablet", "mobileweb"]
What could be going on?