We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the app is in the foreground and receives a notification, the onMessageReceivedInTheForeground callback is triggered multiple times.
onMessageReceivedInTheForeground
onMessageReceivedInTheForeground should only be triggered once per notification.
SwiftPusherBeamsPlugin: message received: ["body": "DEBUG", "data": Optional({ pusher = { instanceId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"; publishId = "pubid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"; userShouldIgnore = 1; }; }), "title": "DEBUG"] flutter: {pusher: {userShouldIgnore: true, publishId: pubid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, instanceId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}} SwiftPusherBeamsPlugin: message received: ["body": "DEBUG", "data": nil, "title": "DEBUG"] SwiftPusherBeamsPlugin: message received: ["body": "DEBUG", "data": Optional({ pusher = { instanceId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"; publishId = "pubid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"; userShouldIgnore = 1; }; }), "title": "DEBUG"] flutter: null flutter: {pusher: {userShouldIgnore: true, publishId: pubid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, instanceId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}} SwiftPusherBeamsPlugin: message received: ["body": "DEBUG", "data": nil, "title": "DEBUG"] SwiftPusherBeamsPlugin: message received: ["body": "DEBUG", "data": nil, "title": "DEBUG"] flutter: null flutter: null SwiftPusherBeamsPlugin: message received: ["body": "DEBUG", "data": nil, "title": "DEBUG"] flutter: null
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
When the app is in the foreground and receives a notification, the
onMessageReceivedInTheForeground
callback is triggered multiple times.Expected Behaviour
onMessageReceivedInTheForeground
should only be triggered once per notification.Steps to replicate
onMessageReceivedInTheForeground
.Logs from Xcode for a single notification
The text was updated successfully, but these errors were encountered: