-
-
Notifications
You must be signed in to change notification settings - Fork 473
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 foreground notification always calls onMessageReceived #48
Comments
I think it best that a notification message is always passed to However, I see that this could end up with
This would be implemented on both platforms to allow managing all scenarios coherently cross-platform. |
This has been rationalised in v6.0.0 which has been published to npm |
@dpa99c I have updated plugin and unfortunately on iOS on foreground mode there is no system push notification. Only onMessageReceived method called. |
See this screencapture of a notification message being received in the foreground and displayed as a system notification on iOS. This is using the example project app to sent the Please clone and build the example project, customise as necessary (i.e. change the app package ID to one under your control) and send the same message to confirm. |
Hi! First of all thank you man for that great plugin! Take a donate for a cup of beer :)
Is that possible for foreground notification on iOS behave the same as on Android? I mean when app on iOS is foreground and push comes with notification_foreground=true just to show notification and if user taps it only then call onMessageReceived?
Because now when iOS is foreground there is no notification appears and onMessageReceived called. But it would be great to call onMessageReceived only when user taps notification in background(that works) and foreground modes.
The text was updated successfully, but these errors were encountered: