Live preview


#1

After installing cordova device plugins like File, File Transer, File Opener etc . The browser live reload option displays a blank white screen . Is there any option like in Android Studio we get instant live preview of the UI changes ?.


#2

Make sure you’re not calling any of the device specific functions in your code. What I do is check for ios or android platform and then if it is running on an actual device, call the functions but if running in a browser, do not call the cordova plugin function.

The browser does not know how to handle certain cordova functions.


#3

Yeah , that i have figured it , is there any other way out ? . can the ionic lab preview the app with all those additions ?.


#4

The plugins may be hardware dependent so probably not. Have you tried with an emulator.


#5

Yeah tried that as well . it is still same.