Android app doesn't update JS when the new version of app is installed

#1

Hello Expo team, I’m sorry if this topic is duplicated. I encounter some inconvenient of apk installation. How standalone apps work?
Here are my situation:
First installation, app is still required internet connection for the first run, why??? (app never cached before)

Override install old version of apk, app is still required internet connection to reload new version but with the internet connection, we have to close and re open the app again to get new version.

But this is a standalone apk which all assets, fonts are bundle in the application - that apk.
I’m sorry for asking a lot of question because I can’t find anyone to talk refer to my current situation. Thanks so much for helping…

Here is my app.json

{
  "expo": {
    "name": "Meter Reading Dev",
    "description": "Meter Reading System (Development Version)",
    "slug": "MRS-DEV",
    "privacy": "public",
    "sdkVersion": "25.0.0",
    "version": "2.1.5",
    "orientation": "portrait",
    "primaryColor": "#51ABFF",
    "assetBundlePatterns": [
      "./assets/icons/ic_launcher.png",
      "./assets/img/splash-screen.png",
      "./assets/img/logo.png",
      "./assets/img/drawer.png",
      "./assets/img/login-screen.png",
      "./assets/img/water-icon.png",
      "./assets/fonts/Siemreap.ttf"
    ],
    "androidStatusBar": {
      "backgroundColor": "#51ABFF",
      "barStyle": "light-content"
    },
    "icon": "./assets/icons/ic_launcher_dev.png",
    "splash": {
      "image": "./assets/img/splash-screen.png",
      "resizeMode": "cover",
      "backgroundColor": "#ffffff"
    },
    "platforms": [
      "android"
    ],
    "android": {
      "package": "com.h2e.wbmdev"
    }
  }
}
closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.