MessagingRemoteMessage

class MessagingRemoteMessage : NSObject

A remote data message received by the app via FCM (not just the APNs interface).

This is only for devices running iOS 10 or above. To support devices running iOS 9 or below, use the local and remote notifications handlers defined in UIApplicationDelegate protocol.

  • The message ID of downstream message.

    Declaration

    Swift

    var messageID: String { get }
  • The downstream message received by the application.

    Declaration

    Swift

    var appData: [AnyHashable : Any] { get }