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

Commit 83347aa

Browse files
committed
Call writeGoogleServiceCopyHook() for both iOS and Android.
This should fix issue #1129
1 parent b833b1b commit 83347aa

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
@@ -4442,6 +4442,7 @@ function promptQuestions() {
44424442
}
44434443

44444444
function promptQuestionsResult(result) {
4445+
writeGoogleServiceCopyHook();
44454446
if (usingiOS) {
44464447
if (!externalPushClientOnly) {
44474448
writePodFile(result);
@@ -4452,7 +4453,6 @@ function promptQuestionsResult(result) {
44524453

44534454
if (usingAndroid) {
44544455
writeGradleFile(result);
4455-
writeGoogleServiceCopyHook();
44564456
writeGoogleServiceGradleHook(result);
44574457
echoAndroidManifestChanges(result);
44584458
activateAndroidPushNotificationsLib(isSelected(result.messaging) || externalPushClientOnly);
@@ -5320,4 +5320,4 @@ function isPresent(value) {
53205320

53215321

53225322
/***/ })
5323-
/******/ ]);
5323+
/******/ ]);

0 commit comments

Comments
 (0)