Question: Where should I set DisableDeploy?
See original GitHub issueNewbie question but I can’t find any solution. Thanks in advance
Where should I set DisableDeploy?. Tested so far:
config.xml
: No effect at all. Is this example file required on a Capacitor project?ios/App/App/Info.plist
: No effect at allios/App/App/config.xml
andandroid/app/src/main/res/xml/config.xml
: Works fine until you executenpx cap sync
. This command overwritesios/App/App/config.xml
andandroid/app/src/main/res/xml/config.xml
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
The AppFlow livedeploy overwrites my tests on the Emulator ...
But a whole day ago I'm stuck with a problem and I can not solve it. ... upgraded to the last and then...
Read more >Configure deployment clients - Splunk Documentation
On each client, you must specify the deployment server it will connect to. You do this by configuring the client's deploymentclient.conf file.
Read more >Disable 'Deploy' button for inbound changeset [closed]
That permission is it. Either users can see and deploy the change sets, or not.
Read more >How to disable Appflow Live Updates in IONIC app
There is a way to configure your app to disable updates: in capacitor.config.json file add the following to the cordova.preferences object:
Read more >Using Live Update - Appflow - Ionic.io
Your code will get overwritten if the local app codebase points to the same ... Set the DisableDeploy preference to true in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
At the moment the only way is manually copying the value to the generated config.xml file, but as you say, it gets overwritten.
With this PR you’ll be able to set it like this in capacitor.config.json:
Works for any Cordova preference, not just DisableDeploy.
It’s working on Capacitor 2.4.2/Ionic 5.3.4.
PD: Just in case, you must use
"true"
(string) instead oftrue
(boolean) in order to work.