You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'); });