Open RatFou opened 7 years ago
try setting the priority of the push notification (the one provided by FCM) and see if it gets delivered quicker?
Already done, to high :)
add break point in onMessageReceived in MessagingService.java and see if it gets triggered correctly
Thank you but I'm not a Java developper, I don't know how those breakpoints work :( I searched on Internet and all the time the breakpoints where added in Eclipse or Android studio, but I'm not using those IDE (notepad++).
can you install android studio for debugging? it provides much more information and support than just command line. After all, RN a native app.
Okay
Hi, @evollu , I am facing the same problem with my emulator. It works properly but somehow after sometime it is not showing the notification message but I got the result in console.
this.notificationListener = FCM.on('notification', (notif) => { console.log(notif);//// I got the result }); }
Hi, I'm using RN 0.39, working on Android version.
I use react-native-fcm to push some news. Sometimes I have the alert I added and sometimes not when the app is in background. I have not this issue if the app is closed.
My code:
Do you have any idea to solve this issue please?