Accéder à la console

The Firebase Messaging service interface.

Do not call this constructor directly. Instead, use firebase.messaging().

See Set Up a JavaScript Firebase Cloud Messaging Client App for a full guide on how to use the Firebase Messaging service.

Index

Methods

deleteToken

  • deleteToken(token: string): Promise<boolean>
  • To forceably stop a registration token from being used, delete it by calling this method.

    Parameters

    • token: string

      The token to delete.

    Returns Promise<boolean>

    The promise resolves when the token has been successfully deleted.

getToke