[APP-107] OTA updates (#587)
* add 1000ms fallbackToCacheTimeout * add listener via useOTAUpdate hook and show modal if update is available * finish expo-updates setup * setup useOTAUpdate hook * add 1000ms fallbackToCacheTimeout * add listener via useOTAUpdate hook and show modal if update is available * finish expo-updates setup * setup useOTAUpdate hook * add OTA updates * Update build.md * temporarily disable ota updates * refactor useOTAUpdate code
This commit is contained in:
parent
ad4eaf5ed2
commit
ba4bb46c3f
6 changed files with 95 additions and 3 deletions
12
app.json
12
app.json
|
@ -5,6 +5,9 @@
|
|||
"scheme": "bluesky",
|
||||
"owner": "blueskysocial",
|
||||
"version": "1.29.0",
|
||||
"runtimeVersion": {
|
||||
"policy": "appVersion"
|
||||
},
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/icon.png",
|
||||
"userInterfaceStyle": "light",
|
||||
|
@ -63,9 +66,15 @@
|
|||
"web": {
|
||||
"favicon": "./assets/favicon.png"
|
||||
},
|
||||
"updates": {
|
||||
"enabled": true,
|
||||
"fallbackToCacheTimeout": 1000,
|
||||
"url": "https://u.expo.dev/55bd077a-d905-4184-9c7f-94789ba0f302"
|
||||
},
|
||||
"plugins": [
|
||||
"expo-localization",
|
||||
"react-native-background-fetch",
|
||||
"sentry-expo",
|
||||
[
|
||||
"expo-build-properties",
|
||||
{
|
||||
|
@ -79,8 +88,7 @@
|
|||
{
|
||||
"username": "blueskysocial"
|
||||
}
|
||||
],
|
||||
"sentry-expo"
|
||||
]
|
||||
],
|
||||
"extra": {
|
||||
"eas": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue