fcmex icon indicating copy to clipboard operation
fcmex copied to clipboard

Support APNS payload key

Open antonioparisi opened this issue 5 years ago • 3 comments

hi @shufo - hope you're well.

as you can see from here: https://firebase.google.com/docs/cloud-messaging/send-message#example-notification-message-with-platform-specific-delivery-options

APNS can be set

antonioparisi avatar May 19 '20 14:05 antonioparisi

Is there some plans to support this APNS key and android? These keys are necessary in order to be able to send an image url.

macabeus avatar Jun 20 '20 22:06 macabeus

Thanks for creating issue! Currently APNS and android key is not supported by this library because lack of HTTP v1 API support. But have plan.

If you would like to consider other library, there are library supported APNS key (HTTP v1 API supported) like this. https://github.com/scripbox/firebase-admin-ex

I will be supporting the HTTP v1 API soon, but if you are in a hurry, you could consider other libraries.

shufo avatar Jun 21 '20 21:06 shufo

@shufo Thank you for quick reply.

I'm trying to use this another package, but as long I seen, it doesn't support to send a message to topic, but just for one device (since it requires a user device registration token). So isn't possible to use it on my project.

macabeus avatar Jun 24 '20 18:06 macabeus