diyDevApp
diyDevApp copied to clipboard
Cordova is not available
I start a clean ionic project, use ionic serve -c --no-open and console show this when open de app
console.warn: Native: tried calling StatusBar.styleDefault, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
Hi can you be a bit more specific on what you are doing? Did you build the diyDevApp using ionic cordova build and deployed it to a device? And on a dev machine ran ionic serve with a different app? Tom
Sure, I clone the repo, buil the app with ionic 3.20.0 android platform 6.3.0 and install it on my phone with android 6.1.0, then create a new ionic tabs projects and serve it with ionic serve -c --no-open, then open the app and it discover mybdev server, when tap on my ip my new ionic app opens, but on console warn that cordova it is not available.
Follow that step it work previewly
What do u mean by that? Did it used to work? A plain starter app in ionic does work with me. So I am having troubles replaying your scenario