Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google FCM support's HTTP 2 based Apple APNs API?

As per new notification from apple before April 1, 2021 all app needs to use HTTP/2 based APIs, as we are using FCM for cloud messaging, need confirmation that firebase services will work fine in the future as well,

The HTTP/2-based Apple Push Notification service (APNs) provider API lets you take advantage of great features, such as authentication with a JSON Web Token, improved error messaging, and per-notification feedback. If you send push notifications with the legacy binary protocol, we strongly recommend upgrading to the APNs provider API.

To give you additional time to prepare, the deadline to upgrade to the APNs provider API has been extended to March 31, 2021. APNs will no longer support the legacy binary protocol after this date. https://developer.apple.com/news/?id=c88acm2b

like image 354
prasad Avatar asked Feb 18 '21 09:02

prasad


People also ask

Does FCM uses APNs?

APNs needs to be used for push messaging when an application is in the background. Hence, FCM uses APNs to deliver messages when the message contains user visible payload, e.g., body, sound etc. FCM also delivers via APNs when content available is set.

Can FCM be used for iOS?

For Apple client apps, you can receive notification and data payloads up to 4000 bytes over the Firebase Cloud Messaging APNs interface.

Why you use FCM notification instead of APNs?

APNs and WNS do not support multiple platforms. They are designed to work with their native platforms. But, FCM supports multiple platforms such as Android and iOS and even supports Chrome web apps.

How does FCM push notification work?

The FCM backend receives the message request, generates a message ID and other metadata, and sends it to the platform specific transport layer. When the device is online, the message is sent via the platform-specific transport layer to the device. On the device, the client app receives the message or notification.


Video Answer


1 Answers

Just received message from Firebase support, no action items required from our end.

The details about Updated APNs provider API deadline will not have any performance impact or issues on FCM, and there’s no action item needed on your end in relation to Apple Push Notification service server certificate update.

Let me know if you have any clarifications.

like image 62
prasad Avatar answered Oct 19 '22 02:10

prasad