androidchatsdk / Chat Android SDK / Gladly / registerPushToken
registerPushToken
fun registerPushToken(context:Context, deviceToken:String):Unit
Register deviceToken that will be used to send push notifications.
This should only be called in your application’s FirebaseMessagingService in
onNewToken(..) to process incoming data/notifications.
Parameters
context - The service context to be used with.
deviceToken - The deviceToken to register with Gladly.