fcm/v1 library

Firebase Cloud Messaging API - v1

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

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.
AndroidNotification
Notification to send 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 at no cost.
LightSettings
Settings to control notification LED.
Message
Message to send by Firebase Cloud Messaging Service.
Notification
Basic notification template to use across all platforms.
ProjectsMessagesResource
ProjectsResource
SendMessageRequest
Request to send a message to specified target.
WebpushConfig
Webpush protocol options.
WebpushFcmOptions
Options for features provided by the FCM SDK for Web.

Typedefs

AndroidFcmOptions = $FcmOptions
Options for features provided by the FCM SDK for Android.
Color = $Color
Represents a color in the RGBA color space.
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.