Skip to content

Commit

Permalink
replaced original configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pari Work Temp committed Aug 13, 2024
1 parent d807245 commit 1e421ee
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
expo: {
name: 'tn mobile bootstrapper',
slug: 'tn-sample-app',
owner: 'thinknimble-bootstrapper',
name: '<REPLACE_WITH_EXPO_APP_NAME>',
slug: '<REPLACE_WITH_EXPO_APP_SLUG>',
owner: '<REPLACE_WITH_EXPO_OWNER>',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/logo-sq.png',
Expand All @@ -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/<REPLACE_WITH_EXPO_APP_ID>', // uuid of app
},
plugins: [
[
'@sentry/react-native/expo',
{
organization: 'tn-bootstrapper', // replace with org in sentry
organization: '<REPLACE_WITH_SENTRY_ORG>', // replace with org in sentry
project: process.env.SENTRY_PROJECT_NAME, // see readme for these variables
},
],
Expand All @@ -31,7 +31,7 @@ module.exports = {
],
ios: {
supportsTablet: true,
bundleIdentifier: 'org.thinknimble.expo.bootstrapper', // CHANGE TO BUNDLE ID
bundleIdentifier: '<REPLACE_WITH_IOS_BUNDLE_ID>', // CHANGE TO BUNDLE ID
config: {
usesNonExemptEncryption: false,
},
Expand All @@ -41,14 +41,14 @@ module.exports = {
foregroundImage: './assets/logo-sq.png',
backgroundColor: '#FFFFFF',
},
package: 'com.example.app', // CHANGE TO PACKAGE ID
package: '<REPLACE_WITH_ANDROID_PACKAGE_ID>', // CHANGE TO PACKAGE ID
},
web: {
favicon: './assets/logo-sq.png',
},
extra: {
eas: {
projectId: 'ec1b86e2-2582-48cf-8a7a-c6d2772ba4f2', // uuid of app
projectId: '<REPLACE_WITH_EXPO_APP_ID>', // uuid of app
},
// these values are hardcoded and provided in eas.json
backendServerUrl: process.env.BACKEND_SERVER_URL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"ios": {
"appName": "<REPLACE_WITH_APPSTORE_CONNECT_APP_NAME>",
"appleId": "<REPLACE_WITH_APPLE_ID_EMAIL_SIGNING_APP>",
"ascAppId": "<REPLACE_WITH_APPLESTORE_CONNECT_ID>",
"appleTeamId": "<REPLACE_WITH_APPLE_TEAM_ID>"
"appleTeamId": "<REPLACE_WITH_APPLE_TEAM_ID>",
"ascAppId": "<REPLACE_WITH_APPLESTORE_CONNECT_ID"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_slug}}/scripts/setup_mobile_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

# base_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

config_file=mobile/$1
config_file=$1

defaults_file=resources/$2
defaults_file=$2


declare -a config_vars
Expand Down

0 comments on commit 1e421ee

Please sign in to comment.