FirebaseToken

public struct FirebaseToken

This structure takes the Firebase information for the push notification

  • This is firebase token

    Declaration

    Swift

    public let token: String
  • This is application’s bundle identifier

    Declaration

    Swift

    public let appIdentifier: String
  • Initializes the Firebase token structure which saves the details like app’s bundle identifier and firebase token

    Declaration

    Swift

    public init(token: String, appIdentifier: String)

    Parameters

    token

    This is firebase token which needs to be sent to the server, for the server to be able to provide us with the push notifications

    appIdentifier

    This is application’s bundle identifier