ios/Podfile:# N/A
AppDelegate.m:// N/A
android/build.gradle:// N/A
android/app/build.gradle:// N/A
android/settings.gradle:// N/A
MainApplication.java:// N/A
AndroidManifest.xml:<!-- N/A -->
ADD_SOMETHING_HERE e.g. iOS 10 or Android API 28N/AN/AN/AReact Native Firebase library version:5.15.00ADD_SOMETHING_HEREFirebase module(s) you're using that has the issue:TypeScript?N/AExpoKit?ExpoKitN/A
Think react-native-firebase is great? Please consider supporting the project with any of the below:
React Native Firebase and Invertase on TwitterEverything else in firebase worked fine, however when I try to use fcm, it starts to fail.
when I try to run it in xcode, I get
Error: You attempted to use a firebase module that's not installed natively on your iOS project by calling firebase.messaging().
Ensure you have the required Firebase iOS SDK pod for this module included in your Podfile, in this instance confirm you've added "pod 'Firebase/Messaging'" to your Podfile
However, I do have pod 'Firebase/Messaging', '~> 5.15.0' in my cocoapods.
none of the messaging function is working right now
try deleting the pod, running pod install, then adding the pod again and installing. re-check if you have followed all of the instructions steps.
I tried deleting the podfile, pod.lock, xcspace and all the files and re-ran pod install and pod update but it did not fix.
What does your Podfile look like?
I have exactly same issue but without using Pod (download Firebase-5.19.0.zip and follow readme inside it). Something I missed?
For those who stumble with this issue AND add this module manually (not using Pod), 12 steps (yes not 11, read the thread carefully) in this thread is the solution (readme should be updated actually).
Hello 馃憢, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.
Most helpful comment
try deleting the pod, running
pod install, then adding the pod again and installing. re-check if you have followed all of the instructions steps.