Skip to content

Commit

Permalink
chore: make the google auth file optional with env variable
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 420786d
Showing 1 changed file with 2 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 || (process.env.LOCAL && "./GoogleService-Info.plist"),
},
android: {
...config.android,
googleServicesFile: process.env.GOOGLE_SERVICES_JSON || "./google-services.json",
googleServicesFile: process.env.GOOGLE_SERVICES_JSON || (process.env.LOCAL && "./google-services.json"),
},
};
} else {
Expand Down

0 comments on commit 420786d

Please sign in to comment.