Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
szarbartosz committed Nov 11, 2024
1 parent 40c0e54 commit 7937d10
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
18 changes: 18 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { ConfigContext, ExpoConfig } from '@expo/config';

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'Jeżyk',
slug: 'hedgeapp',
ios: {
bundleIdentifier: 'com.szarbartosz.hedgeapp',
},
android: {
package: 'com.szarbartosz.hedgeapp',
config: {
googleMaps: {
apiKey: process.env.ANDROID_GOOGLE_API_KEY,
},
},
},
});
6 changes: 2 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.szarbartosz.hedgeapp"
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./src/assets/images/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.szarbartosz.hedgeapp"
}
},
"web": {
"bundler": "metro",
Expand Down
16 changes: 16 additions & 0 deletions eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,32 @@
},
"build": {
"development": {
"env": {
"EXPO_PUBLIC_BASE_URL": "https://hedgeapp.szarbartosz.com"
},
"developmentClient": true,
"distribution": "internal",
"ios": {
"simulator": true
}
},
"preview": {
"env": {
"EXPO_PUBLIC_BASE_URL": "https://hedgeapp.szarbartosz.com"
},
"developmentClient": false,
"android": {
"buildType": "apk"
},
"distribution": "internal"
},
"production": {
"env": {
"EXPO_PUBLIC_BASE_URL": "https://hedgeapp.szarbartosz.com"
},
"android": {
"buildType": "apk"
},
"autoIncrement": true
}
},
Expand Down

0 comments on commit 7937d10

Please sign in to comment.