Notifications

The Android SDK notification service is provided by extending the Firebase Messaging Service and requires some configuration of Firebase to operate successfully.
Public class Notification

The notification class provides a push notification among users of a given app.

Methods

enablePushNotifications

This method must be called to allow an app to send and receive push notifications.

public void enablePushNotifications()

Type

Description

‚Äč

returns

void

description

send

Send a push notification to another registered user of the same app.

public void send(String msg, String receiverId, _CallbackFunction._GenericWithError cb)

Property

Type

Description

msg

String

message to send

receiverId

String

unique id of user recipient of notification

cb

_CallbackFunction._GenericWithError

callback with status