Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 3e8fa8d

Browse files
Redo for separation of environments #911 (fixed a little error for iOS)
1 parent 04e3493 commit 3e8fa8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

publish/scripts/installer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,8 +839,8 @@ var copyPlist = function(copyPlistOpts) {
839839
fs.writeFileSync(destinationGooglePlist, fs.readFileSync(sourceGooglePlistDev));
840840
return true;
841841
}
842-
} else if (!fs.existsSync(sourceGooglePlist)) { // single GoogleService-Info.plist modus but missing
843-
copyPlistOpts.$logger.warn("nativescript-plugin-firebase: " + sourceGooglePlist + " does not exist. Please follow the installation instructions from the documentation");
842+
} else if (!fs.existsSync(destinationGooglePlist)) { // single GoogleService-Info.plist modus but missing
843+
copyPlistOpts.$logger.warn("nativescript-plugin-firebase: " + destinationGooglePlist + " does not exist. Please follow the installation instructions from the documentation");
844844
return false;
845845
} else {
846846
return true; // single GoogleService-Info.plist modus

src/scripts/postinstall.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3637,8 +3637,8 @@ var copyPlist = function(copyPlistOpts) {
36373637
fs.writeFileSync(destinationGooglePlist, fs.readFileSync(sourceGooglePlistDev));
36383638
return true;
36393639
}
3640-
} else if (!fs.existsSync(sourceGooglePlist)) { // single GoogleService-Info.plist modus but missing
3641-
copyPlistOpts.$logger.warn("nativescript-plugin-firebase: " + sourceGooglePlist + " does not exist. Please follow the installation instructions from the documentation");
3640+
} else if (!fs.existsSync(destinationGooglePlist)) { // single GoogleService-Info.plist modus but missing
3641+
copyPlistOpts.$logger.warn("nativescript-plugin-firebase: " + destinationGooglePlist + " does not exist. Please follow the installation instructions from the documentation");
36423642
return false;
36433643
} else {
36443644
return true; // single GoogleService-Info.plist modus

0 commit comments

Comments
 (0)