[Firebase Messaging] iOS not receiving push notifications sent from device but working when sent from firebase console #1797
Labels
impact: customer
A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)
plugin: messaging
Stale
Issue with no recent activity
type: bug
Something isn't working
Describe the bug
I'm not receiving any push notifications at all on iOS devices when sending messages from within my app to individually targeted devices. Nothing comes through in the tray at all and the onMessage handler is not getting fired at all no matter if the app is open, in the background or closed. I'm just not receiving anything at all, i'm using both a real iPhone X and an iPad.
When I send a message to all users through the firebase console the push notification is received on iOS devices and the onMessage handler is working so devices are clearly set up to receive push notifications correctly.
Messages are received totally fine on Android when sending from within the app so I don't think it's an issue in the way i'm sending the messages.
I'm using the latest version of the firebase messaging plugin (firebase_messaging: ^6.0.9)
Is this a know issue? Is anyone else experiencing this? Really frustrating as push notifications are vital to users of my app
This is my code for sending the notification:
flutter run --verbose
The text was updated successfully, but these errors were encountered: