RegisterPushNotification

fun RegisterPushNotification(appId: String, fcmToken: String, platform: String = "android")

Parameters

appId

A string in the format "{stage|prod}.FCM.{brand}.HealthConnect". {brand} should be the full length tenant name, e.g. "providence", "swedish", "froedtert"

fcmToken

The FCM token as provided by the FirebaseInstanceId SDK.

platform

The device operating system platform. It should always be "android" for an Android app, and is defaulted as such.