FirebaseMessaging Framework Reference

MessagingAPNSTokenType

enum MessagingAPNSTokenType : Int, @unchecked Sendable

The APNs token type for the app. If the token type is set to UNKNOWN Firebase Messaging will implicitly try to figure out what the actual token type is from the provisioning profile. Unless you really need to specify the type, you should use the APNSToken property instead.

  • Unknown token type.

    Declaration

    Swift

    case unknown = 0
  • Sandbox token type.

    Declaration

    Swift

    case sandbox = 1
  • Production token type.

    Declaration

    Swift

    case prod = 2