I’m trying to disable live update for local development, but I can’t. I launch the app through android studio on my physical phone and the app always opens the last web build (I have only one production channel).
My capacitor.config.ts is:
...
plugins: {
LiveUpdates: {
appId: 'b1583d07',
channel: 'Production',
autoUpdateMethod: 'background',
maxVersions: 2,
enabled: false
},
}
...
I've tried everything, changing the channel name to one that doesn't exist, setting enabled to false, seemingly every permutation but I cannot disable the live update overwriting my local changes.
What's interesting is that it disables fine if I launch the app in an emulator in android studio, but not on a physical phone.
I'm on capacitor 6.
ionic info
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module ‘@capacitor/ios/package.json’
Require stack:
- /Users/rpatulski/.nvm/versions/node/v18.12.1/lib/node_modules/@ionic/cli/lib/project/index.js
- /Users/rpatulski/.nvm/versions/node/v18.12.1/lib/node_modules/@ionic/cli/lib/index.js
- /Users/rpatulski/.nvm/versions/node/v18.12.1/lib/node_modules/@ionic/cli/index.js
- /Users/rpatulski/.nvm/versions/node/v18.12.1/lib/node_modules/@ionic/cli/bin/ionic
Ionic:
Ionic CLI : 7.1.6 (/Users/rpatulski/.nvm/versions/node/v18.12.1/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 7.4.3
Capacitor:
Capacitor CLI : 6.1.0
@capacitor/android : 6.1.0
@capacitor/core : 6.1.0
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v18.12.1 (/Users/rpatulski/.nvm/versions/node/v18.12.1/bin/node)
npm : 8.19.2
OS : macOS Monterey