Skip to content

Commit

Permalink
Merge pull request #141 from D4ryl00/chore/googleservice-optional
Browse files Browse the repository at this point in the history
chore: make the google auth file optional with new EAS profile
  • Loading branch information
D4ryl00 authored Nov 26, 2024
2 parents 8a5a34f + 22de4fd commit cbbe19f
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 cbbe19f

Please sign in to comment.