convokit_flutter 0.2.0
convokit_flutter: ^0.2.0 copied to clipboard
Flutter SDK for ConvoKit - real-time messaging integration.
0.2.0 #
- Use the Supabase publishable key discovered from the ConvoKit token service.
- Authenticate Realtime before joining private message, typing, read-receipt, and presence channels.
- Keep
connectUser, token-provider, and managed API endpoint interfaces unchanged.
0.0.4 #
- Use the managed
https://api.convokit.appendpoint by default. - Keep
backendUrlas an optional override for local testing and self-hosting.
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.