Firebase notification arrives when app is open, but in idle state #6225
Replies: 1 comment 2 replies
-
Hi there! These are old versions, so, careful with that. New to react-native or not, software's software and the processes are the same, follow the scientific method and conduct real experiments with methods and materials as fixed as possible, and share real results https://stackoverflow.com/help/how-to-ask |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am new to react-native, and I am facing this weird problem when I implemented react-native firebase using below libraries -
"@react-native-firebase/app": "^12.8.0"
"@react-native-firebase/messaging": "^12.8.0"
The problem is -
When I am running my backend locally, the notification arrives immediately, doesn't matter on which screen I am.
The problem comes when I deployed my backend on AWS Lambda. Now, when I fire the notification, the app won't receive it until I interact with the app.
Please help me with this problem.
Thank You.
Beta Was this translation helpful? Give feedback.
All reactions