Setting updates.checkAutomatically
to "ON_ERROR_RECOVERY"
in app.json is not preventing Expo from automatically fetching the latest update every time my app is launched. When build is completed, Updates.fetchUpdateAsync();
receives isAvailable true
, but when app launches, app updates automatically kicks-in with no possibility for the user to accept it. Any suggestion to make it so Expo prevents the automatic update?
The built app.json update
settings running on the devices are:
"updates": {
"checkAutomatically": "ON_ERROR_RECOVERY",
"fallbackToCacheTimeout": 0
},
Expo CLI 3.0.10 environment info:
System:
OS: macOS 10.14.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.6.0 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
IDEs:
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
expo: ^34.0.1 => 34.0.4
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz => 0.59.8
react-navigation: ^3.11.0 => 3.12.1
npmGlobalPackages:
expo-cli: 3.0.10