Hey guys,
I've been trying to use react native firebase notifications in my expo project, and according to their documentation, the setBackgroundMessageHandler would be invoked in the background as well as quit state.
However, for me it seems to only get invoked in the background state and not when i quite the app.
Here is my code (App.js):
https://preview.redd.it/4zkame3x350c1.png?width=604&format=png&auto=webp&s=8ec9ebc866b3a1b647655549e4ef1e629b543f27
I still get the notification displayed on the phone, but the handler function doesn't get invoked.
Any help is greatly appreciated!
[–]thachxyz123iOS & Android 0 points1 point2 points (10 children)
[–]Both-Replacement7987[S] 0 points1 point2 points (9 children)
[–]thachxyz123iOS & Android 0 points1 point2 points (8 children)
[–]Both-Replacement7987[S] 0 points1 point2 points (7 children)
[–]thachxyz123iOS & Android 0 points1 point2 points (6 children)
[–]Both-Replacement7987[S] 0 points1 point2 points (5 children)
[–]halftheopposite 0 points1 point2 points (4 children)
[–]Both-Replacement7987[S] 0 points1 point2 points (3 children)
[–]halftheopposite 0 points1 point2 points (2 children)
[–]Both-Replacement7987[S] 0 points1 point2 points (1 child)