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

Commit ee542ba

Browse files
Merge pull request #1201 from openenglish/master
Using Non-Firebase Push Messaging with other Firebase Services
2 parents 96a23d4 + 3ebf968 commit ee542ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4581,7 +4581,7 @@ post_install do |installer|
45814581
end`) + `
45824582
45834583
# Firebase Cloud Messaging (FCM)
4584-
` + (isSelected(result.messaging) ? `` : `#`) + `pod 'Firebase/Messaging'
4584+
` + (isSelected(result.messaging) && !isSelected(result.external_messaging) ? `` : `#`) + `pod 'Firebase/Messaging'
45854585
45864586
# Firebase In-App Messaging (supported on NativeScript 5.2+)
45874587
` + (isSelected(result.in_app_messaging) && supportsIOSModernBuildSystem ? `` : `#`) + `pod 'Firebase/InAppMessagingDisplay'

0 commit comments

Comments
 (0)