diff --git a/.vscode/settings.json b/.vscode/settings.json index 80889168..75d09f91 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "githubPullRequests.ignoredPullRequestBranches": [ "main" - ] + ], + "typescript.tsdk": "node_modules/typescript/lib" } diff --git a/Readme.md b/Readme.md index 83985bf5..27689d9c 100644 --- a/Readme.md +++ b/Readme.md @@ -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 ``` diff --git a/app.config.js b/app.config.js.bak similarity index 92% rename from app.config.js rename to app.config.js.bak index a1f91318..14945ec8 100644 --- a/app.config.js +++ b/app.config.js.bak @@ -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", @@ -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: { @@ -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", diff --git a/app.json b/app.json new file mode 100644 index 00000000..7737ade1 --- /dev/null +++ b/app.json @@ -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" + } + } +} diff --git a/eas.json b/eas.json index d961fe9f..29009700 100644 --- a/eas.json +++ b/eas.json @@ -1,7 +1,6 @@ { "cli": { "version": ">= 3.6.0", - "appVersionSource": "remote", "promptToConfigurePushNotifications": false }, "build": {