onInvitationReceived

open fun onInvitationReceived(@NonNull context: Context, @NonNull invitationBundle: InvitationBundle)

Method called by the SDK when a WebSocket or a plugin receives a push notification concerning an invitation.

It is possible to use this method when the SDK works in a system that is not Firebase compatible or different library is used. If external push notifications are managed elsewhere, then transform the Bundle or data to a valid InvitationBundle model.

Parameters

context

valid context to use

invitationBundle

InvitationBundle instance