Skip to content

Disable FCM for iOS #5290

Answered by mikehardy
er1cAk asked this question in Q&A
May 11, 2021 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Not sure why you'd want platform-specific code, but you could always use patch-package to delete the RNFBMessaging.podspec file, at which point react-native auto-linking won't see the module, so cocoapods won't install+link it and it will not initialize. Could work, totally untested though

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@er1cAk
Comment options

@mikehardy
Comment options

@er1cAk
Comment options

@er1cAk
Comment options

@mikehardy
Comment options

Answer selected by er1cAk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants