Flutter Amplify Push Notification. Can't send push message in IOS via Amazon Pinpoint FCM #5451
Open
2 of 14 tasks
Labels
feature-request
A request for a new feature or an enhancement to an existing API or category.
push notifications
question
A question about the Amplify Flutter libraries
Description
Hello,
The Flutter Amplify Docs is not very helpful. I don't know if this is a bug or if we can't send push notifications to iPhone/IOS using Amazon Pinpoint. Based on Amazon Pinpoint
"Firebase Cloud Messaging (FCM) – For sending messages to Android devices and web apps. It can also be used to send messages to iOS devices."
So via FCM we can send both Android and IOS.
But when I calling this
Amplify.Notifications.Push.onTokenReceived.listen((event) { print('🚀 onTokenReceived $event'); });
it generates an invalid FCM device ID, it generates an APN device ID that works on APN.
Any Ideas that when sending push notifications to IOS it's always APN and for Androis its FCM or do we need some APN to FCM device ID converter?
Thanks in advance
Categories
Steps to Reproduce
I just followed Amplify Docs
Screenshots
Platforms
Flutter Version
3.24.1
Amplify Flutter Version
2.2.0
Deployment Method
Amplify Gen 2
Schema
No response
The text was updated successfully, but these errors were encountered: