Skip to content

Feature Request: create a flag to run quasar dev -m cordova from file:// instead of server on development machineΒ #131

@customautosys

Description

@customautosys

Currently, running quasar dev on cordova results in the app URL being re-pointed to the IP address of the development machine. This creates CORS errors which do not arise when cordova is running from file:// as in a production environment.

Additionally, running the pages from a development server results in hard to detect bugs which strangely arise when the cordova app runs from file:// in a production release.

This problem is currently mitigated by running quasar build -m android and cordova run android from src-cordova thereafter. However, this solution is not ideal as the source code is built for production and minified, making it very hard to debug remotely.

I am requesting for a new flag to be added so that a cordova dev build can run off file:// instead of pointing at the IP address of the development machine. This would be very helpful for debugging purposes. I understand that if this is done, hot-reload probably would not be able to work but that is a small price to pay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions