updatePushToken

fun updatePushToken(context: Context, token: String, pushService: MindboxPushService)

Updates push token for SDK Call it from onNewToken in messaging service

Parameters

context

used to initialize the main tools

token
  • token of push service

pushService

fun updatePushToken(context: Context, token: String)

Deprecated (with error)

Use updatePushToken(context: Context, token: String, services: MindboxPushService)

Replace with

this.updatePushToken(context, token, pushService)

Updates push token for SDK Call it from onNewToken in messaging service

Parameters

context

used to initialize the main tools

token
  • token of push service