sippo-sdk / com.quobis.sippo.sipposdk.session / Sessions / setPushToken

setPushToken

fun setPushToken(context: Context, token: String): Unit

Sets a new Firebase token to receive push notifications from the server. It is recommended to call it when Firebase provides the token to the application. The SDK will register this token for the current session (if any) and for the following ones. If another token is provided, the method should be called again with the new value.

Parameters

context - Application or activity context.

token - Firebase token to register.