Messaging
class Messaging : NSObject
Firebase Messaging lets you reliably deliver messages at no cost.
To send or receive messages, the app must get a registration token from FIRInstanceID. This token authorizes an app server to send messages to an app instance.
In order to receive FIRMessaging messages, declare
application:didReceiveRemoteNotification::fetchCompletionHandler:
.
-
Delegate to handle FCM token refreshes, and remote data messages received via FCM direct channel.
Declaration
Swift
weak var delegate: MessagingDelegate? { get set }
-