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

Commit d1595fe

Browse files
Merge pull request #1140 from RohanTalip/fix-env-separation-for-ios
Call writeGoogleServiceCopyHook() for both iOS and Android.
2 parents 9751c7f + 83347aa commit d1595fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/postinstall.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4444,6 +4444,7 @@ function promptQuestions() {
44444444
}
44454445

44464446
function promptQuestionsResult(result) {
4447+
writeGoogleServiceCopyHook();
44474448
if (usingiOS) {
44484449
if (!externalPushClientOnly) {
44494450
writePodFile(result);
@@ -4454,7 +4455,6 @@ function promptQuestionsResult(result) {
44544455

44554456
if (usingAndroid) {
44564457
writeGradleFile(result);
4457-
writeGoogleServiceCopyHook();
44584458
writeGoogleServiceGradleHook(result);
44594459
echoAndroidManifestChanges(result);
44604460
activateAndroidPushNotificationsLib(isSelected(result.messaging) || externalPushClientOnly);
@@ -5316,4 +5316,4 @@ function isPresent(value) {
53165316

53175317

53185318
/***/ })
5319-
/******/ ]);
5319+
/******/ ]);

0 commit comments

Comments
 (0)