Push plugin has some logic to not show APNs notifications received in foreground, but show it if received from flutter_local_notifications:
This logic is fine, but not complete because local notification may have present parameters to not show notification.
For example, in my project we have a scheduled notification that is configured to not show if the app is in the foreground. But after adding push plugin it started showing up during foreground.
I suggest to add a logic to check such parameters:
I'll try to do so and maybe will create a PR for this amazing plugin.
Push plugin has some logic to not show APNs notifications received in foreground, but show it if received from
flutter_local_notifications
:This logic is fine, but not complete because local notification may have present parameters to not show notification.
For example, in my project we have a scheduled notification that is configured to not show if the app is in the foreground. But after adding
push
plugin it started showing up during foreground. I suggest to add a logic to check such parameters:I'll try to do so and maybe will create a PR for this amazing plugin.