# Not able do disable Live update (non-cordova)

**URL:** <https://forum.ionicframework.com/t/not-able-do-disable-live-update-non-cordova/243090>\
**Category:** Appflow\
**Created:** [July 13, 2024, 1:38am UTC](https://forum.ionicframework.com/t/not-able-do-disable-live-update-non-cordova/243090 "2024-07-13T01:38:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![radek79](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/radek79/32/121894_2.png) [@radek79](https://forum.ionicframework.com/u/radek79)\
**Post date:** [July 13, 2024, 1:38am UTC](https://forum.ionicframework.com/t/not-able-do-disable-live-update-non-cordova/243090/1 "2024-07-13T01:38:45Z")

</div>

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:

```auto
...
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

```auto

```

---

<div class="post-metadata">

**Author:** ![radek79](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/radek79/32/121894_2.png) [@radek79](https://forum.ionicframework.com/u/radek79)\
**Post date:** [July 13, 2024, 2:02am UTC](https://forum.ionicframework.com/t/not-able-do-disable-live-update-non-cordova/243090/2 "2024-07-13T02:02:21Z")

</div>

I figured it out. I needed to clear data and cache on the device. Uninstalling the app is not enough in order for local changes to show up on the device.
