React Native iOS app isn't running my code inside setBackgroundMessageHandler() #7049
Unanswered
faizanbutt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I have a requirement of calling an API whenever a notification lands on my phone specially on background mode and when the app is quit. So, I coded inside setBackgroundMessageHandler() function of firebase messaging and it is working as expected on android.
But on iOS side nothing really happens, just the notification is received but my other code which calls the API is not running. I got to know about this because on android side i can literally see the logs which runs inside my custom code and on iOS nothing is consoled.
Can anyone provide me something related to it.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions