fcm/v1 library

Firebase Cloud Messaging API - v1

FCM send API that provides a cross-platform messaging solution to reliably deliver messages.

For more information, see firebase.google.com/docs/cloud-messaging

Create an instance of FirebaseCloudMessagingApi to access these resources:

Classes

AndroidConfig
Android specific options for messages sent through FCM connection server.
AndroidConfigV2
Android specific V2 options for messages sent through FCM connection server.
AndroidNotification
Notification to send to android devices.
AndroidNotificationV2
Notification v2 to send to Android devices.
AndroidRemoteNotification
A Remote Notification message that is sent to Android devices.
ApnsConfig
Apple Push Notification Service specific options.
ApnsFcmOptions
Options for features provided by the FCM SDK for iOS.
FirebaseCloudMessagingApi
FCM send API that provides a cross-platform messaging solution to reliably deliver messages.
GoogleFirebaseFcmV1AndroidNotificationV2LightSettings
Settings to control notification LED.
LightSettings
Settings to control notification LED.
ListTopicSubscriptionsResponse
Response message for ListTopicSubscriptions.
Message
Message to send by Firebase Cloud Messaging Service.
Notification
Basic notification template to use across all platforms.
ProjectsMessagesResource
ProjectsRegistrationsResource
ProjectsRegistrationsTopicSubscriptionsResource
ProjectsResource
SendMessageRequest
Request to send a message to specified target.
TopicSubscription
Represents a subscription of a single app instance to a single FCM topic.
WebpushConfig
Webpush protocol options.
WebpushFcmOptions
Options for features provided by the FCM SDK for Web.

Typedefs

AndroidBackgroundSyncMessage = $Empty
A Background Sync message that is sent to Android devices.
AndroidFcmOptions = $FcmOptions
Options for features provided by the FCM SDK for Android.
Color = $Color
Represents a color in the RGBA color space.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
FcmOptions = $FcmOptions
Platform independent options for features provided by the FCM SDKs.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.