🔥 RNFirebaseMessaging is intercepting FCM delegate call #1814
Labels
Keep Open
avoids the stale bot
plugin: messaging
FCM only - ( messaging() ) - do not use for Notifications
Milestone
We are using FCM and expect the following function to be called
`AppDelegate's
However
RNFirebaseMessaging.m
's same function (signature) gets called insteadWhen we shake device and reload the js, RNFirebaseMessaging.m 's init method gets called and it is setting the delegate to itself.
When we run the app by running it from xcode, this sometimes happens and sometimes doesn't..
There's no explicit code to call RNFirebaseMessaging's init anywhere in our code. (We want our AppDelegate to be the delegate of the FCM messaging ..
Issue
Project Files
iOS
ios/Podfile
:AppDelegate.m
:Android
android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
ADD_SOMETHING_HERE
e.g. iOS 10 or Android API 28N/A
N/A
N/A
React Native
version:0.57.4
React Native Firebase
library version:5.1.0
Firebase
module(s) you're using that has the issue:TypeScript
?N/A
ExpoKit
?ExpoKit
N/A
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on TwitterThe text was updated successfully, but these errors were encountered: