Skip to content

Commit

Permalink
chore(suite-native): setup expo-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkriz committed Oct 14, 2024
1 parent 9dee606 commit 32893c5
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/list-outdated-dependencies/mobile-dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ expo-secure-store
expo-splash-screen
expo-status-bar
expo-system-ui
expo-updates
jotai
lottie-react-native
react-native-gesture-handler
Expand Down
10 changes: 10 additions & 0 deletions suite-native/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,16 @@ export default ({ config }: ConfigContext): ExpoConfig => {
slug: appSlugs[buildType],
owner: appOwners[buildType],
version: suiteNativeVersion,
runtimeVersion: {
policy: 'fingerprint',
},
...(buildType === 'develop'
? {
updates: {
url: `https://u.expo.dev/${projectId}`,
},
}
: {}),
orientation: 'portrait',
splash: {
image: './assets/splash_icon.png',
Expand Down
11 changes: 11 additions & 0 deletions suite-native/app/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"EXPO_PUBLIC_ENVIRONMENT": "develop",
"EXPO_PUBLIC_CODESIGN_BUILD": "false"
},
"channel": "develop",
"autoIncrement": true,
"ios": {
"distribution": "store"
Expand All @@ -19,6 +20,16 @@
"resourceClass": "large"
}
},
"preview": {
"env": {
"EXPO_PUBLIC_ENVIRONMENT": "preview",
"EXPO_PUBLIC_CODESIGN_BUILD": "false"
},
"autoIncrement": true,
"developmentClient": true,
"credentialsSource": "remote",
"distribution": "internal"
},
"adhoc": {
"env": {
"EXPO_PUBLIC_ENVIRONMENT": "preview",
Expand Down
1 change: 1 addition & 0 deletions suite-native/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"expo-splash-screen": "0.27.5",
"expo-status-bar": "1.12.1",
"expo-system-ui": "3.0.7",
"expo-updates": "0.25.24",
"lottie-react-native": "6.7.2",
"node-libs-browser": "^2.2.1",
"react": "18.2.0",
Expand Down
67 changes: 67 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3947,6 +3947,24 @@ __metadata:
languageName: node
linkType: hard

"@expo/fingerprint@npm:^0.10.2":
version: 0.10.3
resolution: "@expo/fingerprint@npm:0.10.3"
dependencies:
"@expo/spawn-async": "npm:^1.7.2"
chalk: "npm:^4.1.2"
debug: "npm:^4.3.4"
find-up: "npm:^5.0.0"
minimatch: "npm:^3.0.4"
p-limit: "npm:^3.1.0"
resolve-from: "npm:^5.0.0"
semver: "npm:^7.6.0"
bin:
fingerprint: bin/cli.js
checksum: 10/fc39ed83ac9e2c9f9c9903f85ca5bb3b920740ffaa6b2a742af6563c1bec431b4c56c20f595c0b9931cf645e952dcc2f5deba948b60deacde510e695f27000f6
languageName: node
linkType: hard

"@expo/fingerprint@npm:^0.6.0":
version: 0.6.0
resolution: "@expo/fingerprint@npm:0.6.0"
Expand Down Expand Up @@ -9627,6 +9645,7 @@ __metadata:
expo-splash-screen: "npm:0.27.5"
expo-status-bar: "npm:1.12.1"
expo-system-ui: "npm:3.0.7"
expo-updates: "npm:0.25.24"
jest: "npm:^29.7.0"
lottie-react-native: "npm:6.7.2"
metro: "npm:0.80.11"
Expand Down Expand Up @@ -15095,6 +15114,13 @@ __metadata:
languageName: node
linkType: hard

"arg@npm:4.1.0":
version: 4.1.0
resolution: "arg@npm:4.1.0"
checksum: 10/dc0e1ea7f0adee7871c456bd57f06fb9f8c2ccd91fd0537c73b66f3fa0c9697ccdfc25b358a417a3ab263c062aac0ef2df3a5523433861fe6277cb2ff769a9bc
languageName: node
linkType: hard

"arg@npm:5.0.2, arg@npm:^5.0.2":
version: 5.0.2
resolution: "arg@npm:5.0.2"
Expand Down Expand Up @@ -22447,6 +22473,13 @@ __metadata:
languageName: node
linkType: hard

"expo-eas-client@npm:~0.12.0":
version: 0.12.0
resolution: "expo-eas-client@npm:0.12.0"
checksum: 10/84f9f00fc7343e1ef38499a8c09644435bac5c09cf6f0c62386dbeaf506062ece82959a8216e2e0765cf3d8ac165548babb0d9e3b012cf560c7becb0409e67b0
languageName: node
linkType: hard

"expo-file-system@npm:~17.0.1":
version: 17.0.1
resolution: "expo-file-system@npm:17.0.1"
Expand Down Expand Up @@ -22639,6 +22672,13 @@ __metadata:
languageName: node
linkType: hard

"expo-structured-headers@npm:~3.8.0":
version: 3.8.0
resolution: "expo-structured-headers@npm:3.8.0"
checksum: 10/8d723dc76e96e4190469695e9a2a833a66eb908689cb63aac244f67ff63d2d111b761592ce9f50d67d12bcd38f31cc5bf385fc582a37c51bd0aef379e4ec451a
languageName: node
linkType: hard

"expo-system-ui@npm:3.0.7":
version: 3.0.7
resolution: "expo-system-ui@npm:3.0.7"
Expand All @@ -22660,6 +22700,33 @@ __metadata:
languageName: node
linkType: hard

"expo-updates@npm:0.25.24":
version: 0.25.24
resolution: "expo-updates@npm:0.25.24"
dependencies:
"@expo/code-signing-certificates": "npm:0.0.5"
"@expo/config": "npm:~9.0.0-beta.0"
"@expo/config-plugins": "npm:~8.0.8"
"@expo/fingerprint": "npm:^0.10.2"
"@expo/spawn-async": "npm:^1.7.2"
arg: "npm:4.1.0"
chalk: "npm:^4.1.2"
expo-eas-client: "npm:~0.12.0"
expo-manifests: "npm:~0.14.0"
expo-structured-headers: "npm:~3.8.0"
expo-updates-interface: "npm:~0.16.2"
fast-glob: "npm:^3.3.2"
fbemitter: "npm:^3.0.0"
ignore: "npm:^5.3.1"
resolve-from: "npm:^5.0.0"
peerDependencies:
expo: "*"
bin:
expo-updates: bin/cli.js
checksum: 10/b283c7bb648538aba0213a6738d2a47e534506481f44a70083cfe23c2352c2043a2279dc2802a4badd365949320de1920b0433254da2ebb75d7fd83b8f926a0e
languageName: node
linkType: hard

"expo@npm:51.0.31":
version: 51.0.31
resolution: "expo@npm:51.0.31"
Expand Down

0 comments on commit 32893c5

Please sign in to comment.