-
I just wanna ask, if (and how) I am able to disable FCM for ios... In my case I want to use FCM for android and for iOS access directly to the APNS. But every time if aj call function .getToken() I will successfully register iOS too. |
Beta Was this translation helpful? Give feedback.
Answered by
mikehardy
May 11, 2021
Replies: 1 comment 5 replies
-
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 |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
er1cAk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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