Configuring ExpoKit to do not load any JS from expo release channels

My App Runs on Both Android And Ios Without Any Internet

Look My app.json exemple:

{
  "expo": {
    "sdkVersion": "28.0.0", // Minimum SDK 27 to support Asssets and Bundle on Both Ios and Android
    "assetBundlePatterns": [
      "assets/fonts/*",
      "assets/img/*"
    ]
  }
}

it’s important run exp publish before build on Xcode ou Android Studio, this comand will generate:

  • android/app/src/main/assets/shell-app-manifest.json
  • android/app/src/main/assets/shell-app.bundle
  • ios/APPNAME/Supporting/shell-app-manifest.json
  • ios/APPNAME/Supporting/shell-app.bundle

This files will be bundled inside Apk and Ipa Files. this way your app will work fully without internet connection.

@romantymchenko I wish i’ve helped you.

3 Likes