How to remove publish code update in expo ?

I configured the module as a stand-alone app to use it. So when I’m building the Android APK, I’m running the “expo publicish,” and I’m making the APK in the Android studio.

By the way, I found that if I changed the Expo source , it would be automatically updated.

How do I prevent this kind of automatic update?

expo-cli version: expo-cli 2.18.5
“expo”: “^30.0.0”,

my App.json

  "expo": {
    "name": "test",
    "description": "This project is really great.",
    "slug": "test",
    "privacy": "public",
    "sdkVersion": "30.0.0",
    "packagerOpts": {
      "config": "./rn-cli.config.js"
    "platforms": ["android"],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",

    "android": {
      "package": "com.jackson.myapp",
      "publishBundlePath": "android/app/src/main/assets/shell-app.bundle",
      "publishManifestPath": "android/app/src/main/assets/shell-app-manifest.json",
      "splash": {
        "backgroundColor": "#000000"
    "updates": {
      "fallbackToCacheTimeout": 0
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true,
      "usesIcloudStorage": true,
      "bundleIdentifier": "com.jackson.myapps",
      "publishBundlePath": "ios/mvw/Supporting/shell-app.bundle",
      "publishManifestPath": "ios/mvw/Supporting/shell-app-manifest.json"
    "isDetached": true,
    "detach": {
      "iosExpoViewUrl": "",
      "androidExpoViewUrl": ""
    "scheme": "exp6c94a01048724a76bc92dca0c"

Hey @taeeh,

I’m not sure I’m following here. Are you building a release or debug variant of the apk?


I created the release version of APK through the Android studio. But when I run ‘expo publish,’ the code will apply to the APK that I made. I want to stop it.

You’ll want to disabled OTA updates then. You’ll have to make the changes mentioned below the code snippet at this link that refers to ExpoKit projects: