I’ve been looking for a way to disable the live deploys when testing the ionic app locally.
The only solution I’ve found so far was to add
<preference name="DisableDeploy" value="true" />
But this requires changing the code only for testing on the main and platform folders, building again. And we risk deploying this configuration in the production release.
Is there a way to automate this and not run the live deploy when not doing a prodution build?