Skip to content

Commit

Permalink
feat: add ota updates (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoKeinanen authored Jul 28, 2024
1 parent 1ad91a8 commit 1709403
Show file tree
Hide file tree
Showing 4 changed files with 293 additions and 6 deletions.
14 changes: 10 additions & 4 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default () => {
supportsTablet: true,
bundleIdentifier:
process.env.EXPO_PUBLIC_ENVIRONMENT === 'production'
? 'com.testausserveri.assemblyapp'
: 'com.testausserveri.assemblyapp_dev',
? 'fi.testausserveri.assemblyapp'
: 'fi.testausserveri.assemblyapp_dev',
},
android: {
adaptiveIcon: {
Expand All @@ -27,8 +27,8 @@ export default () => {
},
package:
process.env.EXPO_PUBLIC_ENVIRONMENT === 'production'
? 'com.testausserveri.assemblyapp'
: 'com.testausserveri.assemblyapp_dev',
? 'fi.testausserveri.assemblyapp'
: 'fi.testausserveri.assemblyapp_dev',
useNextNotificationApi: true,
},
web: {
Expand Down Expand Up @@ -60,6 +60,12 @@ export default () => {
},
},
owner: 'testausserveri',
updates: {
url: 'https://u.expo.dev/469c71b6-54c5-4111-bc4a-03e2cf92a23d',
},
runtimeVersion: {
policy: 'appVersion',
},
},
};
};
2 changes: 2 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
},
"preview": {
"distribution": "internal",
"channel": "preview",
"env": {
"EXPO_PUBLIC_ENVIRONMENT": "preview",
"EXPO_PUBLIC_API_URL": "https://yusf31nx11.execute-api.eu-west-1.amazonaws.com/staging"
}
},
"production": {
"channel": "production",
"env": {
"EXPO_PUBLIC_ENVIRONMENT": "production",
"EXPO_PUBLIC_API_URL": "https://api.series.gg"
Expand Down
279 changes: 279 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"react-native-safe-area-context": "^4.10.1",
"react-native-screens": "3.31.1",
"react-native-web": "~0.19.10",
"@react-native-async-storage/async-storage": "1.23.1",
"expo-notifications": "~0.28.9",
"expo-device": "~6.0.2",
"react-native-webview": "13.8.6"
"react-native-webview": "13.8.6",
"expo-updates": "~0.25.21"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand Down

0 comments on commit 1709403

Please sign in to comment.