Skip to content

Commit

Permalink
chore: use new profile for local build
Browse files Browse the repository at this point in the history
Signed-off-by: D4ryl00 <[email protected]>
  • Loading branch information
D4ryl00 committed Nov 21, 2024
1 parent d1fe7c4 commit 22de4fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ export default ({ config }) => {
...config,
ios: {
...config.ios,
googleServicesFile: process.env.GOOGLESERVICES_INFO_PLIST || "./GoogleService-Info.plist",
googleServicesFile: process.env.GOOGLESERVICES_INFO_PLIST,
},
android: {
...config.android,
googleServicesFile: process.env.GOOGLE_SERVICES_JSON || "./google-services.json",
googleServicesFile: process.env.GOOGLE_SERVICES_JSON,
},
};
} else {
Expand Down
7 changes: 7 additions & 0 deletions mobile/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
"MY_ENVIRONMENT": "production"
}
},
"local-production": {
"env": {
"MY_ENVIRONMENT": "production",
"GOOGLESERVICES_INFO_PLIST": "./GoogleService-Info.plist",
"GOOGLE_SERVICES_JSON": "./google-services.json"
}
},
"production": {
"env": {
"MY_ENVIRONMENT": "production"
Expand Down

0 comments on commit 22de4fd

Please sign in to comment.