Skip to content

Commit

Permalink
add expo-updates lib, add beta expo-build scripts, lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Apr 11, 2024
1 parent 814ae4e commit 2b8b0c0
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 3 deletions.
6 changes: 6 additions & 0 deletions config/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ const config: ExpoConfig = {
'android',
],
version: `${version}${!IS_PROD && !IS_BETA ? `-${_appVariant}` : ''}`,
updates: {
url: 'https://u.expo.dev/edb75ccd-71ac-4934-9147-baf1c7f2b068'
},
runtimeVersion: {
policy: 'appVersion'
},
scheme: ['cashu', 'lightning'],
orientation: 'portrait',
icon: './assets/app-icon-all.png',
Expand Down
221 changes: 219 additions & 2 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:preview:ios": "npx -y eas-cli@latest build -e preview -p ios -m manualPreview --no-wait",
"build:prod:android": "npx -y eas-cli@latest build -e production -p android -m manualProduction --no-wait",
"build:prod:ios": "npx -y eas-cli@latest build -e production -p ios -m manualProduction --no-wait",
"build:beta:android": "npx -y eas-cli@latest build -e beta -p android -m manualBeta --no-wait",
"build:beta:ios": "npx -y eas-cli@latest build -e beta -p ios -m manualBeta --no-wait",
"build:ci:preview:android": "npx -y eas-cli@latest build --non-interactive -e preview -p android -m ciPreview --no-wait",
"build:ci:preview:ios": "npx -y eas-cli@latest build --non-interactive -e preview -p ios -m ciPreview --no-wait",
"build:ci:prod:android": "npx -y eas-cli@latest build --non-interactive -e production -p android -m ciProduction --no-wait",
Expand Down Expand Up @@ -81,7 +83,8 @@
"react-native-screens": "~3.29.0",
"react-native-size-matters": "^0.4.2",
"react-native-svg": "14.1.0",
"text-encoding-polyfill": "^0.6.7"
"text-encoding-polyfill": "^0.6.7",
"expo-updates": "~0.24.12"
},
"devDependencies": {
"@babel/core": "^7.24.3",
Expand Down

0 comments on commit 2b8b0c0

Please sign in to comment.