Running cordova Android dev without a server
Hi, is it possible to run quasar dev -m android without replacing the cordova URL of file:// in config.xml with the IP address of the development machine? This is causing some CORS related issues for me.
I have temporarily solved this problem by running “quasar build -m android” followed by “cordova run android” in the src-cordova folder. However, this is less than ideal. I hope quasar devs can consider creating a command line option for this use case when using “quasar dev -m android”.
metalsadman last edited by metalsadman
@walfin y ou can try this answer from so https://stackoverflow.com/questions/37101783/simulate-cordova-plugins-in-browser/37107939. If you are trying to run dev in a device it is understandable that it uses the ip of your local machine.
No but I want it to run on a device, exactly the way cordova runs it (from file://) rather than from the IP of my development machine. Things work differently on an actual mobile device.