Skip to content

The onClientSynchronization stream does not emit any events if there are no active or initiated conversations. #52

@MakSinroja

Description

@MakSinroja

The onClientSynchronization event is not triggered until at least one conversation has been initiated. For example, if a user hasn’t started any conversation with another user, this listener does not get called during app initialization. However, once a user initiates at least one conversation, subsequent app launches will cause the onClientSynchronization stream to emit events and return a COMPLETED status as expected.

Please let me know if I’m missing any configuration or if there’s an alternative approach to ensure this event is triggered on the initial app load, even when no prior conversations exist.

CODE
TwilioConversationsClient.chatClient?.onClientSynchronization?.listen((event) { print('DATA RECEIVED HERE :: $event'); });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions