Sets whether message delivery metrics are exported to BigQuery is enabled or disabled.
Returns the APNs device token on iOS.
When the app is opened from iOS notifications settings from a quit state,
this method will return true or false if the app was opened via another method.
When a notification from FCM has triggered the application to open from a quit state,
this method will return a RemoteMessage containing the notification data, or null.
Returns whether the root view is headless or not.
Returns the Messaging instance for the default or given FirebaseApp.
Returns an FCM token for this device.
Returns a AuthorizationStatus as to whether the user has messaging permission for this app.
Returns whether messaging auto initialization is enabled or disabled for the device.
Returns a boolean whether message delivery metrics are exported to BigQuery.
Returns a boolean value whether the user has registered for remote notifications via
registerDeviceForRemoteMessages().
Returns a boolean whether message delegation is enabled. Android only, always returns false on iOS.
Checks if all required APIs exist in the browser.
Called when the FCM server deletes pending messages.
Subscribes to foreground FCM messages.
When sending a RemoteMessage, this listener is called when the message has been sent to FCM.
When the user presses a notification displayed via FCM, this listener will be called if the app has opened from a background state.
When sending a RemoteMessage, this listener is called when an error is thrown and the
message could not be sent.
Called when a new registration token is generated for the device.
On iOS, if your app wants to receive remote messages from FCM (via APNs), you must explicitly register with APNs if auto-registration has been disabled.
On iOS, messaging permission must be requested by the current application before messages can be received or sent.
Send a new RemoteMessage to the FCM server.
Sets the APNs device token received by the application delegate.
Sets whether messaging auto initialization is enabled or disabled for the device.
Set a message handler function which is called when the app is in the background or terminated.
Sets whether message notification delegation is enabled or disabled.
Set a handler function which is called when the ${App Name} notifications settings
link in iOS settings is clicked.
Apps can subscribe to a topic, which allows the FCM server to send targeted messages to only those devices subscribed to that topic.
Unregisters the app from receiving remote notifications.
Unsubscribe the device from a topic.
Authorization status values returned by the deprecated permission APIs.
Removes access to an FCM token previously authorized by its scope.