New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Data Only FCM messages not reaching device #7770
Comments
data-only messages will never be reliable on iOS, if you ever receive them it is a bonus. If you want to have FCM delivered on iOS you need to send a |
I am also struggling to get message in IOS emulator. I want to know that on M3 Apple MacBook + Emulator, Is it possible? |
If you have an up to date macOS and Xcode and iOS version on Apple Silicon, and you have granted your app notification permissions, and then restarted your app, and you then register for remote notifications, it should be possible. BUT NOT DATA-ONLY MESSAGES ON iOS, those may work they may not but they are unreliable and not useful for testing (since they are unreliable is it a real negative test result for no delivery where your code and config is wrong or a false negative test result for no delivery where system just didn't deliver?). use notification blocks I do not believe anything here will result in changes to the code in this library, and that's what we use open issues to track so I'm going to close this as a user-specific item - you may find stackoverflow good for firebase support as well, the firebase team hangs out there and helps respond to questions |
Hello, I am trying to send a data-only message to an iOS simulator react native app but the callback function in
messaging().setBackgroundMessageHandler(onMessageReceived);
is not being triggered where I am trying to show a Notifee notification.On backend (Node.js)
Please assist. Thanks
The text was updated successfully, but these errors were encountered: