FCM Context

  • Send mobile push messages using firebase cloud messaging (FCM)

  • You can bulk send push notifications to multiple recipients, platform will take care of the distribution asynchronous

  • Context Variable: fcm

API Interface

//Send a push notification with data message to a list of FCM devices
void push(String subject, String content, String data, List<String> receipents);

//Send a push notification message to a list of FCM devices
void push(String subject, String content, List<String> receipents);

//Send a push notification message to one or more FCM devices
void push(String subject, String content, String... receipents);

//Send a push notification with data message to one or more FCM devices
void push(String subject, String content, String data, String... receipents);

//Send a content message to a list of FCM devices
void send(String data, List<String> receipents);

//Send a content message to one or more FCM devices
void send(String data, String... receipents);

APIs Inherited

Context Base