Trying to use codova wraper
I have the same problem, using the default starter kit but can’t access cordova (or cordova plugins). I’m using the browser to develop
Hi. Can’t use cordova or cordova plugins in browsers. They only work on a mobile phone.
Hi, that’s not entirely true, there are Cordova functions and plugins that support browsers. It can be added as a platform (https://www.raymondcamden.com/2014/09/24/browser-as-a-platform-for-your-phonegapcordova-apps/)
That being said, how do I develop a hybrid app using Quasar and utilizing the cordova functions without having to build the project (quasar build) and then run the cordova project (cordova run) again everytime I make a change?
PavelPolyakov last edited by
I’m also very interested in the @ramonmostert question.
It’s very useful to develop using
quasar dev iosand alike, however it’s not clear how to develop if you are planning to use cordova in your app.
Also, if you want to test your Cordova plugins with hot module reload then temporarily change
<content src="index.html" />to
<content src="URL_TO_YOUR_MACHINE:PORT" />in
/cordova/config.xml. Close app, run
quasar devthen open your app. You’ll get hot module reload on dev code
@PavelPolyakov dit it right away https://github.com/quasarframework/quasar/issues/381
Thanks in advance and keep up the good work!
Greg last edited by
It would be really great if you could just develop in cordova browser mode.
Will work on this. Stay tuned.
Hi @rstoenescu , any news on this?