clotpulse_flutter 2.0.1
clotpulse_flutter: ^2.0.1 copied to clipboard
Official Flutter SDK for ClotPulse realtime messaging. Realtime channels, FCM push notifications, and active-chat suppression on Android, iOS, and Web.
2.0.1 #
- Updated all API endpoint references and documentation from
api.clotvpn.apptoapi.clotpulse.app. - Updated homepage and repository links to
clotpulse.app. - No API changes — drop-in replacement for 2.0.0.
2.0.0 #
Breaking changes:
ClotPulseconstructor:userTokenparameter renamed touserId(your system's opaque user ID — no JWT required).ClotPulse.setActiveChat(channel)signature simplified — no moreappIdOverrideparameter.ClotPulseFcmManagerconstructor now requiresappId,publicKey, anduserIdinstead ofuserToken. Authentication uses app public key (safe to embed in mobile apps).ClotPulseFcmManager.subscribeToChannels()renamed toupdateChannels().ClotPulseActiveChatTrackerconstructor now requiresappId,publicKey, anduserIdinstead ofuserToken.ClotPulseActiveChatTracker.enterChat()now takes a plainchannelstring (noappIdnamed param).- All FCM and active-chat API paths changed from
/v1/me/*to/v1/fcm/*.
New features:
- Per-app Firebase credentials — each ClotPulse app configures its own Firebase project from the developer dashboard.
- FCM token registration authenticated via
X-App-Id+X-Public-Keyheaders — no user JWT needed. - Active-chat suppression scoped by
appId:userId— no cross-app interference. ClotPulseActiveChatTracker.dispose()method for clean teardown.
1.0.0 #
- Initial release.
- Android, iOS, and Flutter Web support.
ClotPulseclient withchannels,connectionstate machine.ClotPulsePublisherfor server-side event publishing.- Auto-reconnect with configurable delay.