Ionic-cli: ionic cordova run browser --livereload not working with cordova plugin

Created on 10 Jan 2018  路  2Comments  路  Source: ionic-team/ionic-cli

Description:
When i run command "ionic cordova run browser" then all works fine, but i have not livereload;
When i run command "ionic cordova run browser --livereload" then app starts, but livereload not work and i have many cordova_not_available errors;

Steps to Reproduce:
run command "ionic cordova run browser --livereload"

Output:
19:38:26] console.log: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
[19:38:26] console.warn: Native: tried calling StatusBar.styleDefault, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
[19:38:26] console.warn: Native: tried calling SplashScreen.hide, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
[19:38:26] console.warn: Native: tried calling QRScanner.prepare, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
[19:38:26] console.log: Error is cordova_not_available
[19:38:26] console.warn: Native: tried calling QRScanner.prepare, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
[19:38:26] console.log: Error is cordova_not_available

My ionic info:
cli packages:
ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:
cordova (Cordova CLI) : 7.1.0

local packages:
ionic/app-scripts : 3.1.2
Cordova Platforms : android 6.3.0 browser 5.0.1
Ionic Framework : ionic-angular 3.9.2

System:
Android SDK Tools : 26.1.1
Node : v8.9.1
npm : 5.6.0
OS : Windows 10

All 2 comments

Hi @Ragnaxander, thanks for posting the issue. Please see this issue -> https://github.com/ionic-team/ionic-cli/issues/2312

We don't have support for the browser Cordova platform.

Any plans of adding that support?

Was this page helpful?
0 / 5 - 0 ratings