This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ function saveConfig() {
3333function readConfig ( ) {
3434 try {
3535 config = JSON . parse ( fs . readFileSync ( pluginConfigPath ) ) ;
36+ externalPushClient = isSelected ( config [ "external_push_client_only" ] ) ;
3637 } catch ( e ) {
3738 console . log ( "Failed reading " + pluginConfigFile ) ;
3839 console . log ( e ) ;
@@ -852,7 +853,7 @@ return new Promise(function(resolve, reject) {
852853 fs.writeFileSync(destinationGoogleJsonAlt, fs.readFileSync(sourceGoogleJson));
853854 resolve();
854855 } else {
855- $logger.warn("Unable to copy google-services.json.");
856+ $logger.warn("Unable to copy google-services.json. You need this file, because the Google Services Plugin cannot function without it.. ");
856857 reject();
857858 }
858859 } else if (platform === 'ios') {
Original file line number Diff line number Diff line change @@ -2831,6 +2831,7 @@ function saveConfig() {
28312831function readConfig ( ) {
28322832 try {
28332833 config = JSON . parse ( fs . readFileSync ( pluginConfigPath ) ) ;
2834+ externalPushClient = isSelected ( config [ "external_push_client_only" ] ) ;
28342835 } catch ( e ) {
28352836 console . log ( "Failed reading " + pluginConfigFile ) ;
28362837 console . log ( e ) ;
@@ -3650,7 +3651,7 @@ return new Promise(function(resolve, reject) {
36503651 fs.writeFileSync(destinationGoogleJsonAlt, fs.readFileSync(sourceGoogleJson));
36513652 resolve();
36523653 } else {
3653- $logger.warn("Unable to copy google-services.json.");
3654+ $logger.warn("Unable to copy google-services.json. You need this file, because the Google Services Plugin cannot function without it.. ");
36543655 reject();
36553656 }
36563657 } else if (platform === 'ios') {
You can’t perform that action at this time.
0 commit comments