Reputation: 2699
Is there a way in which an Amazon kindle device can get the device token from FCM?
I mean, our app already works with FCM for Android and iOS devices, but particularly for Kindle devices (part of Android ecosystem) they never receive a token from FCM on FirebaseInstanceIdService.
The token is always null, then I can't have the device token to send the notification:
String refreshedToken = FirebaseInstanceId.getInstance().getToken(); //always null
How can I get that token?
Upvotes: 0
Views: 1313
Reputation: 185
Kindles don't have Google Services, they have Amazon ones instead. In particular, notification service called ADM (Amazon Device Messaging): https://developer.amazon.com/docs/adm/overview.html
You can consider using Amazon SNS instead of FCM. It is also able to deliver notifications to FCM and APNS. But the support is a point of concern. E.g. it still doesn't support Apple notification authentication keys introduced in 2015: https://forums.aws.amazon.com/thread.jspa?threadID=213538
Upvotes: 0