convokit_flutter 0.0.3
convokit_flutter: ^0.0.3 copied to clipboard
Flutter SDK for ConvoKit - real-time messaging integration.
0.0.3 #
- Breaking:
RealtimeService.onMessage()now returnsStream<MessageEvent>instead ofStream<Message>, and deliversUPDATE/DELETEevents onMessagein addition toINSERT. Switch onMessageEvent.typeand readMessageEvent.message. - Added automatic session keep-alive: the SDK refreshes the session proactively ahead of token expiry, and reactively (refresh-and-retry once) on any REST call that comes back 401.
- Added a typed error hierarchy:
ConvoKitExceptionis now a base type withConvoKitAuthException,ConvoKitNotFoundException,ConvoKitValidationException,ConvoKitServerException, andConvoKitNetworkExceptionsubtypes. - Added
ConvoKit.getUser()/ConvoKit.getUsers()and a newAppUsermodel for looking up app user profiles, includinglastSeenAt. - Added
ConvoKit.getMessage()to fetch a single message by id.
0.0.2 #
- Finalize R2 uploads with the backend before returning media URLs.
- Validate signed-upload object keys and surface upload-completion failures.
0.0.1 #
- Initial release of the ConvoKit Flutter SDK.
- Added SDK configuration, user connection, and token exchange helpers.
- Added conversation, message, realtime, presence, read receipt, typing, and media upload APIs.