From 1e421ee94f3b4e21e54dea146c8b314bdbc93e4d Mon Sep 17 00:00:00 2001 From: Pari Work Temp Date: Tue, 13 Aug 2024 10:05:35 -0500 Subject: [PATCH] replaced original configs --- .github/workflows/mobile.yml | 6 +++--- .../clients/mobile/react-native/app.config.js | 16 ++++++++-------- .../clients/mobile/react-native/eas.json | 4 ++-- .../scripts/setup_mobile_config.sh | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.yml index 3a005b1b2..6f40b5b5c 100644 --- a/.github/workflows/mobile.yml +++ b/.github/workflows/mobile.yml @@ -60,10 +60,10 @@ jobs: run: | ls cp resources/app-config-js-values.txt my_project/resources/app-config-js-values.txt - cp resources/eas-json-values.txt my_project/resources/easjson-values.txt + cp resources/eas-json-values.txt my_project/resources/eas-json-values.txt cd my_project - . scripts/setup_mobile_config.sh app.config.js app-config-js-values.txt - . scripts/setup_mobile_config.sh eas.json eas-json-values.txt + . scripts/setup_mobile_config.sh app.config.js my_project/resources/app-config-js-values.txt + . scripts/setup_mobile_config.sh eas.json my_project/resources/eas-json-values.txt cat mobile/eas.json cat mobile/app.config.js diff --git a/{{cookiecutter.project_slug}}/clients/mobile/react-native/app.config.js b/{{cookiecutter.project_slug}}/clients/mobile/react-native/app.config.js index 5b43d0695..bab869d2c 100644 --- a/{{cookiecutter.project_slug}}/clients/mobile/react-native/app.config.js +++ b/{{cookiecutter.project_slug}}/clients/mobile/react-native/app.config.js @@ -1,8 +1,8 @@ module.exports = { expo: { - name: 'tn mobile bootstrapper', - slug: 'tn-sample-app', - owner: 'thinknimble-bootstrapper', + name: '', + slug: '', + owner: '', version: '1.0.0', orientation: 'portrait', icon: './assets/logo-sq.png', @@ -15,13 +15,13 @@ module.exports = { assetBundlePatterns: ['**/*'], updates: { fallbackToCacheTimeout: 0, - url: 'https://u.expo.dev/ec1b86e2-2582-48cf-8a7a-c6d2772ba4f2', // uuid of app + url: 'https://u.expo.dev/', // uuid of app }, plugins: [ [ '@sentry/react-native/expo', { - organization: 'tn-bootstrapper', // replace with org in sentry + organization: '', // replace with org in sentry project: process.env.SENTRY_PROJECT_NAME, // see readme for these variables }, ], @@ -31,7 +31,7 @@ module.exports = { ], ios: { supportsTablet: true, - bundleIdentifier: 'org.thinknimble.expo.bootstrapper', // CHANGE TO BUNDLE ID + bundleIdentifier: '', // CHANGE TO BUNDLE ID config: { usesNonExemptEncryption: false, }, @@ -41,14 +41,14 @@ module.exports = { foregroundImage: './assets/logo-sq.png', backgroundColor: '#FFFFFF', }, - package: 'com.example.app', // CHANGE TO PACKAGE ID + package: '', // CHANGE TO PACKAGE ID }, web: { favicon: './assets/logo-sq.png', }, extra: { eas: { - projectId: 'ec1b86e2-2582-48cf-8a7a-c6d2772ba4f2', // uuid of app + projectId: '', // uuid of app }, // these values are hardcoded and provided in eas.json backendServerUrl: process.env.BACKEND_SERVER_URL, diff --git a/{{cookiecutter.project_slug}}/clients/mobile/react-native/eas.json b/{{cookiecutter.project_slug}}/clients/mobile/react-native/eas.json index a3e9b4b25..0653c4a84 100644 --- a/{{cookiecutter.project_slug}}/clients/mobile/react-native/eas.json +++ b/{{cookiecutter.project_slug}}/clients/mobile/react-native/eas.json @@ -67,8 +67,8 @@ "ios": { "appName": "", "appleId": "", - "ascAppId": "", - "appleTeamId": "" + "appleTeamId": "", + "ascAppId": "