Questions tagged [react-native-fcm]

94 questions
2
votes
1 answer

How to merge multiple messages from pushnotification as a single message in reactnative firebase

We are trying to implement PushNotification service through firebase cloud messaging. We implemented the device group which can send multiple messages to multiple devices. The problem is that each time we are sending a msg to the registered device…
2
votes
1 answer

Modify notification from FCM / onMessageReceived not called when app is in background

I'm building an app in react native, and I attached react-native-fcm library to the code, in order to work with notification messages. I have two main problems: 1) Notification from the firebase doesn't look like the ordinary notification messages:…
2
votes
2 answers

How we can remove listeners in React-native-navigation on app kill

How we can remove listeners in React-native-navigation on app kill . Because in the starting of the app there is no root component but just a class there is no componentWillUnMount. I need to remove some listeners on app kill for example…
2
votes
1 answer

react-native-fcm don't receive notification when app is opened

Why can't i receive notication from react-native-fcm when the app is opened? Here is my payload const proState={}; proState.notiUID=recKey; proState.notiPayload={ data: { senderKey:senderKey, id:…
General Omosco
  • 606
  • 1
  • 10
  • 20
2
votes
1 answer

React-Native - Firebase Cloud Messaging - no Event if open from Tray

I use fcm-package (https://github.com/evollu/react-native-fcm) to send Firebase-Cloud-Messages to android. Messages arrive at the phone. If the app is in Background, the notification appears in the Statusbar. If I tap at the message, the App opens…
suther
  • 12,600
  • 4
  • 62
  • 99
2
votes
0 answers

Firebase and react native :Invalid APNs certificate.Check certificate settings

I used react-native-fcm, no error and no warning but when I tried to send push notif using firebase, I got an error:- Invalid APNs certificate. Check certificate settings. Even though I used APNs Authentication Key. Is there anyone solved this…
2
votes
0 answers

RNFIRMessaging static analyzer error

I am building an application using React native. Suddenly I encounter with RNFIRMessaging error. When open Xcode project from xcworkspace then it will say Semantic Issue. My code is working before. I don't know whats going on. I reinstall all npm,…
Nirmalsinh Rathod
  • 5,079
  • 4
  • 26
  • 56
2
votes
1 answer

react-native-firebase unable to handle notification click_action to navigate to notification screen

i'm using this react-native-firebase and react-navigation for navigating and i can push notification from server or console successfully whether its in foreground or background but i swear the documentation is not pretty clear how to open…
2
votes
0 answers

undefined is not an object (evaluating 'u.requestPermissions')

I am trying to use FCM push notification in my react native app. I am stuck at this point where i have imported FCM but still it says "undefined is not an object (evaluating 'u.requestPermissions')" I have imported the lib and also linked to my…
HungrySoul
  • 1,151
  • 2
  • 17
  • 31
2
votes
1 answer

Failed to submit push notification to device token

I got the error Failed to submit push notification to while I was trying to send push notification for Amazon Pinpoint using a device token. How can I configure gcm/fcm push correctly?
1
vote
0 answers

Getting duplicate notifications - Firebase topic based push

We are using the Firebase function for push notifications. We've directly trigger and scheduled trigger push notifications. For that, we are using the Firebase function with typescript. Since users are getting increase we are using Topic based push…
1
vote
0 answers

FCM Topic Data Only Messages not being received in IoS Physical Devices

I am trying to send an FCM topic message to my React Native mobile app, but they don't seem to be going through. I am using NodeJs as follows and logging the output to show that the message is getting sent successfully (no issues with…
1
vote
0 answers

ERROR: You attempted to use a firebase module that's not installed on your Android project by calling firebase.app() WITH EXPO

I'm using react-native-firebase/messaging and I'm working with the expo. I tried using messaging().getToken(); but this error occurred ` Error: You attempted to use a firebase module that's not installed on your Android project by calling…
1
vote
0 answers

FCM is not delivering push to client using HTTP v1

Does anyone facing issue with fcm to delivery push notification with HTTP v1? I've an scenario in which I'm having strange issue. When I'm running an debug build or release build in my mobile, I'm able to receive push notification in device with…
1
vote
1 answer

Is FCM device token the same in debug and release apk?

I am trying to implement Firebase Cloud Messaging in React Native. In the debug mode, I can obtain FCM device token and successfully send push notification, however, on the release version I receive error “not registered” or "MismatchSenderId".…