Crate fcm_v1

Source
Expand description

§fcm_v1

A type-safe way to call the Firebase Cloud Messaging (FCM) HTTP v1 API.

OAuth 2.0 authentication is performed via the yup-oauth2 crate. Currently, we request the "https://www.googleapis.com/auth/firebase.messaging" scope in order to send messages.

Modules§

android
Android-specific component of the message.
apns
iOS-specific component of the message.
auth
OAuth2 authentication helpers.
message
Platform-independent component of the message.
webpush
Web Push-specific component of the message.

Structs§

Client
FCM HTTP v1 API client

Enums§

Error
Custom error type for FCM API calls.

Type Aliases§

Result
Custom result type for FCM API calls.