Live preview


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 ?.


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.


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


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


Yeah tried that as well . it is still same.