Skip to content

Commit 3b90493

Browse files
Updated google-services variable to use .env instead of file.
1 parent dcbfc3f commit 3b90493

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import fs from 'fs';
88
// Explicitly load the .env file
99
dotenv.config();
1010

11+
console.log('process.env.GOOGLE_SERVICES_JSON:', process.env.GOOGLE_SERVICES_JSON);
12+
1113
// Add this new plugin
1214
const withIOSSounds = (config) => {
1315
return withXcodeProject(config, async (cfg) => {
@@ -79,7 +81,7 @@ module.exports = {
7981
},
8082
package: 'com.digitalnomad91.codebuilderadmin',
8183
permissions: ['NOTIFICATIONS', 'POST_NOTIFICATIONS', 'READ_PHONE_STATE'],
82-
googleServicesFile: './google-services.json',
84+
googleServicesFile: process.env.GOOGLE_SERVICES_JSON, //'./google-services.json',
8385
useNextNotificationsApi: true,
8486
notification: {
8587
icon: './assets/images/icon.png',

0 commit comments

Comments
 (0)