Understanding Firebase Cloud Messaging on iOS - Firecasts

Firebase · 78K views · 2017 · 7:46

Open on YouTube

Software (other)Web developmentexplainerdated

Why Stack Overflow recommends it

Stack Overflow users link it when they need to understand how FCM relates to APNs on iOS, especially for cross-platform notification questions and token or delivery problems.

Recommended by 1 people across 1 different months, 2017 to 2020.

What it is

A short Firecasts episode from the official Firebase channel explaining how Firebase Cloud Messaging routes notifications through APNs to reach iOS devices. It also covers FCM method swizzling and when you might want to talk to the FCM service directly.

What people said

Recommends Todd Kerpelman · 2017-08 · Stack Overflow · on “Using Firebase Notifications cross platform”

Yes, it's possible. FCM routes all of your iOS notifications to APNs, so by the time these notifications reach your iOS device, they look just like any other iOS notification. If you want all the nitty-gritty details, this video [this video] might help.

Cites user3305074 · 2017-09 · Stack Overflow · on “Firebase Cloud Messaging iOS: No background push notification”

AFAIK, for ios you wont be able to use FCM for send push notification messages for apps in background or killed state. Firebase Push Notification [this video]

Cites user8772205 · 2017-11 · Stack Overflow · on “How to update token in firebase using swift?”

A app can send notifications to remote devices using server key and device InstanceToken . Now as the instanceToken is something that keeps on changing every time the user installs the application. The app uses this instanceToken to send notification to other users. How can the instanceToken be updated every time user uninstalls and installs the application, so that when other user sends notification its provided to the same user Have seen the use of this method in AppDelegate in quite a few place, need a expert who can help in understanding the logic behind it or assist in crafting a better method NotificationCenter.default.addObserver(self, selector: #selector(self.tokenRefreshNotification

Cites Brian Ogden · 2020-01 · Stack Overflow · on “Reset Push Notifications/Device Registration/Instance Id - App Update via TestFlight or App Store - Firebase Cloud Messaging iOS/React Native Firebase”

Been doing a lot of research on this issue, first my setup: React-native: 0.61.5 react-native-firebase [LINK] : 5.6.0 Firebase Messaging 6.15.0 My issue quite simple and straight forward though I do not seem to be able to find a clear way to resolve the issue. I deployed version 4.2 of my app. Firebase Cloud Messaging (FCM) in iOS works just dandy. I then deployed 4.3 to TestFlight to begin testing. Installed 4.3 via TestFlight and FCM stopped working, no push notifications. If I delete the app and install 4.3 via TestFlight push notifications work again, the device is registered. I can also reproduce this issue updating the installed version of my app from the App Store published latest, no