sippo-sdk / com.quobis.sippo.sipposdk.chat / ChatsRx / enablePushNotifications

enablePushNotifications

fun enablePushNotifications(context: Context): Completable

Enable the reception of chat push notifications. In order to enable them you need to have registered a Firebase push token beforehand (@see Sessions' setPushToken method).

Parameters

context - Application context.

Return
A completable that will emit when the request is processed. In case of error, it will emit a SippoClientError.