I try to use ionic in browser, ionic serve is doing fine but when i execute ionic build browser and serve the output with simple http server i get the following errors:
Uncaught module cordova/confighelper not found
cordova.js:891 deviceready has not fired after 5 seconds.
cordova.js:884 Channel not fired: onCordovaReady
cordova.js:884 Channel not fired: onCordovaInfoReady
The reason i want to do this, because i want to use cordova plugins in the browser. Ionic serve not let me use cordova. Reproducable without any additional plugin.
How to reproduce:
- ionic start todo blank
- ionic platform add browser
- ionic build
- navigate to build output folder, copy files to a folder and serve these files with a simple HTTP server.
- open browser