Can someone help me with this error from console on chrome


#1

Native: tried calling StatusBar.styleDefault, but Cordova is not available.


#2

Is this in Ionic serve?


#3

If you see in Supported platforms, works only on Android, iOS and Windows. You can not use it in browsers (ionic serve or run browser).


#4

the cordova.js file is only included when you are running natively on a device, not when running in a browser.