Questions tagged [react-native-fcm]
94 questions
1
vote
0 answers
Load testing of FCM Push Notifications
I need around 100 devices for testing of push notifications for my react native app. Is there any way or tool to perform the load testing virtually?
Thanks.

Siddharth Koli
- 57
- 1
- 5
1
vote
0 answers
How to Handle Listen FCM messages in the background?
I have read the FCM firebase documentation for react native and I want to implement the FCM background on react native android.
But I'm still a little confused by the documentation
my code:
// @flow
import firebase from 'react-native-firebase';
//…

zidniryi
- 1,212
- 3
- 15
- 36
1
vote
2 answers
Send a push notification with external link (React Native)
I built a simple react-native app using react-native-firebase. I succeed to send a push notification to my device, and then I want to implement if user touch(click) the notification from the device it will redirect to the webpage I attached to.
I…

Lee
- 333
- 3
- 7
- 19
1
vote
0 answers
Handling FCM notifications when app is killed
I've developed a basic app in order to explore the FCM push notification principle.
Everything goes as expected when my app is in foreground, notifications are handled by the _createNotificationListeners() function.
But when the app is in…

Duddy67
- 836
- 2
- 10
- 26
1
vote
0 answers
Firebase Cloud Messaging nodejs SDK cannot reach iOS app
I have a Firebase project with Cloud Messaging enabled. I'm using nodejs SDK with a service account to call admin.initializeApp() and so far I'm able to reach desktop Chrome, android Chrome, and the android example app as shown in…

ffflabs
- 17,166
- 5
- 51
- 77
1
vote
1 answer
Build failing for android with error "Execution failed for task ':react-native-fcm:compileReleaseJavaWithJavac'.", but working for iOS
I am facing this issue with android release suddenly. Till Friday everything was working fine, but build is getting failed today with error. i have attached the detailed error in screenshot

Devansh sadhotra
- 1,495
- 1
- 18
- 41
1
vote
0 answers
'FCM.on(FCMEvent.Notification, notif' getting triggered every time app brought to foreground from background
I am using https://github.com/evollu/react-native-fcm with my react-native app for Push Notifications. Issue is the call back function show below gets called every time android app is brought to foreground from background (Even when no notifications…

Sumit
- 401
- 2
- 6
- 21
1
vote
1 answer
Push notification service without showing actual notification in expo
Is it possible to use Expo push notifications (https://docs.expo.io/versions/latest/guides/push-notifications/) without showing actual notification to user?
I want to use Firebase Cloud Messaging to notify user about change in backend and this would…

mck159
- 21
- 2
1
vote
1 answer
Send more than a 1000 notifications with Admin SDK - Firebase Cloud Messaging
I am trying to implement sending more than a 1000 notifications at a time. My mobile app has to notify workers in a city about new job offerings and I have to notify them.
However, in the docs it says that the limit is a 1000 keys in the array so…

Walter Monecke
- 2,386
- 1
- 19
- 52
1
vote
1 answer
can't receive notification in ios : sending FcmTokenRefreshed with no listeners registered
i send notification with fire-base , in ios app i have this error :
sending FcmTokenRefreshed with no listeners registered
if app opened receive notification but when app closed not receive and show error .
excuse me for bad English!
"react":…

NirWeb
- 55
- 1
- 6
1
vote
0 answers
Remote push notification not firing off using react native fcm
I'm using the firebase .on('value') listener in my constructor function inside my Feed component. When a value is added to the firebase database this fires off and when I use this.showLocalNotification() it works. However, when I use…

Arron J. Linton
- 681
- 2
- 11
- 28
1
vote
0 answers
React Native FCM push notification token null
I'm working on a React Native project and i need to set up push notifications on iOS and Android ends using react-native-fcm,
When i try to get a token it return null in Android and the following error on iOS:
Possible Unhandled Promise Rejection…

yosra abdallah
- 71
- 1
- 7
1
vote
1 answer
How to integrate react-native-fcm on react-native-firebase
I have implemented react-native-firebase in my project. It is working fine. But now I have to get event when the app is opened from the notification tray. According to many blogs and posts I got to know that there is only one solution to get that…

Syed Hassan
- 438
- 4
- 19
1
vote
0 answers
How to list all the notifications in a view in react-native
I am trying to build an app which receives notification from the server. I have configured FCM with my backend server which sends out the notifications, and every notification thats being sent from the server, i receive it on my emulator.
What i am…

Vikram Mahishi
- 2,871
- 3
- 15
- 19
1
vote
0 answers
cmd give com.android.ide.common.process.ProcessException: Failed to execute aapt erro
I want to use react-native-fcm for google firebase push notification but when I run react-native run-android it gives me this error
com.android.ide.common.process.ProcessException: Failed to execute aapt
my react native version :
"react-native":…

Amir Hossein
- 916
- 2
- 13
- 38