Tommertom / diyDevApp

Do It Yourself DevApp for Ionic Apps
17 stars 3 forks source link

Cordova is not available #4

Open arielhernandezmusa opened 6 years ago

arielhernandezmusa commented 6 years ago

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

Tommertom commented 6 years ago

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

arielhernandezmusa commented 6 years ago

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.

arielhernandezmusa commented 6 years ago

Follow that step it work previewly

Tommertom commented 6 years ago

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