Skip to content

Commit

Permalink
Revert to static config
Browse files Browse the repository at this point in the history
  • Loading branch information
wyne committed Apr 9, 2023
1 parent e528935 commit 8816f6c
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"main"
]
],
"typescript.tsdk": "node_modules/typescript/lib"
}
6 changes: 6 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ Prerequisite: `SENTRY_AUTH_TOKEN` in `.env`
npx expo run:ios
```

Check eas config settings

```
npx eas config --platform=ios --profile=development
```

Buid .ipa

```
Expand Down
8 changes: 5 additions & 3 deletions app.config.js → app.config.js.bak
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default {
ios: {
bundleIdentifier: IS_DEV ? 'com.wyne.scorepad.dev' : 'com.wyne.scorepad',
supportsTablet: true,
requireFullScreen: false
requireFullScreen: false,
buildVersion: "46",
},
android: {
icon: "./assets/adaptive-icon.png",
Expand All @@ -22,7 +23,8 @@ export default {
"backgroundImage": "./assets/adaptive-icon-bg.png"
},
package: IS_DEV ? 'com.wyne.scorepad.dev' : 'com.wyne.scorepad',
permissions: []
permissions: [],
versionCode: 46,
},
userInterfaceStyle: "dark",
web: {
Expand All @@ -38,7 +40,7 @@ export default {
url: "https://u.expo.dev/fc8859ea-b320-41cd-a091-36b3ec7f9b1f"
},
runtimeVersion: {
policy: "sdkVersion"
policy: "appVersion",
},
description: "",
githubUrl: "https://github.com/wyne/scorepad-react-native",
Expand Down
72 changes: 72 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"expo": {
"name": "ScorePad with Rounds",
"slug": "scorepad",
"version": "2.1.6",
"orientation": "default",
"icon": "./assets/icon.png",
"updates": {
"fallbackToCacheTimeout": 0,
"url": "https://u.expo.dev/fc8859ea-b320-41cd-a091-36b3ec7f9b1f"
},
"assetBundlePatterns": [
"assets/*"
],
"backgroundColor": "#000000",
"ios": {
"bundleIdentifier": "com.wyne.scorepad",
"buildNumber": "46",
"supportsTablet": true,
"requireFullScreen": false,
"infoPlist": {
"RCTAsyncStorageExcludeFromBackup": false
}
},
"android": {
"icon": "./assets/adaptive-icon.png",
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon-fg.png",
"backgroundImage": "./assets/adaptive-icon-bg.png"
},
"package": "com.wyne.scorepad",
"versionCode": 46,
"permissions": []
},
"userInterfaceStyle": "dark",
"web": {
"favicon": "./assets/favicon.png"
},
"description": "",
"githubUrl": "https://github.com/wyne/scorepad-react-native",
"extra": {
"eas": {
"projectId": "fc8859ea-b320-41cd-a091-36b3ec7f9b1f"
}
},
"owner": "wyne",
"plugins": [
"sentry-expo",
[
"expo-screen-orientation",
{
"initialOrientation": "DEFAULT"
}
]
],
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "justin-wyne",
"project": "scorepad",
"authToken": false
}
}
]
},
"runtimeVersion": {
"policy": "sdkVersion"
}
}
}
1 change: 0 additions & 1 deletion eas.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"cli": {
"version": ">= 3.6.0",
"appVersionSource": "remote",
"promptToConfigurePushNotifications": false
},
"build": {
Expand Down

0 comments on commit 8816f6c

Please sign in to comment.