convokit_flutter 0.2.0 copy "convokit_flutter: ^0.2.0" to clipboard
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.app endpoint by default.
  • Keep backendUrl as an optional override for local testing and self-hosting.

0.0.3 #

  • Breaking: RealtimeService.onMessage() now returns Stream<MessageEvent> instead of Stream<Message>, and delivers UPDATE/DELETE events on Message in addition to INSERT. Switch on MessageEvent.type and read MessageEvent.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: ConvoKitException is now a base type with ConvoKitAuthException, ConvoKitNotFoundException, ConvoKitValidationException, ConvoKitServerException, and ConvoKitNetworkException subtypes.
  • Added ConvoKit.getUser() / ConvoKit.getUsers() and a new AppUser model for looking up app user profiles, including lastSeenAt.
  • 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.
0
likes
120
points
153
downloads

Documentation

API reference

Publisher

verified publisherconvokit.app

Weekly Downloads

Flutter SDK for ConvoKit - real-time messaging integration.

Repository (GitHub)

License

Apache-2.0 (license)

Dependencies

flutter, http, supabase_flutter

More

Packages that depend on convokit_flutter