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

Commit 80d4291

Browse files
Call writeGoogleServiceCopyHook() for both iOS and Android. #1140
1 parent d48e1c5 commit 80d4291

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/scripts/postinstall.js

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

44464446
function promptQuestionsResult(result) {
4447-
writeGoogleServiceCopyHook();
44484447
if (usingiOS) {
44494448
if (!externalPushClientOnly) {
44504449
writePodFile(result);
44514450
}
4451+
writeGoogleServiceCopyHook();
44524452
writeBuildscriptHookForCrashlytics(isSelected(result.crashlytics));
44534453
writeBuildscriptHookForFirestore(isSelected(result.firestore) && !supportsIOSModernBuildSystem);
44544454
}
44554455

44564456
if (usingAndroid) {
44574457
writeGradleFile(result);
4458+
writeGoogleServiceCopyHook();
44584459
writeGoogleServiceGradleHook(result);
44594460
echoAndroidManifestChanges(result);
44604461
activateAndroidPushNotificationsLib(isSelected(result.messaging) || externalPushClientOnly);
@@ -5316,4 +5317,4 @@ function isPresent(value) {
53165317

53175318

53185319
/***/ })
5319-
/******/ ]);
5320+
/******/ ]);

0 commit comments

Comments
 (0)