whisperr 0.2.2
whisperr: ^0.2.2 copied to clipboard
Official Whisperr SDK for Flutter — identify users and track product events to power churn-prevention interventions.
Changelog #
0.2.2 #
- Wire-format conformance with the other Whisperr SDKs (verified against
whisperr-spec):identify()now supportspreferred_channel, shortcut channels send an explicitopted_in, and emptytrack()events include a defaultpropertiesobject.
0.2.1 #
- Each
track()event now carries a stable per-event idempotency key ($message_id) incontext, reusing the persisted queue op id so it survives restarts and retries. Prevents duplicate events when the durable queue resends after a timeout, matching server-side dedup.
0.2.0 #
- Breaking:
identify()no longer acceptspreferredChannel. Whisperr now derives the best channel from engagement; express an explicit user choice withoptedIn: falseon the channels they don't want. - Added
email,phone, andpushTokenshortcut parameters toidentify()that expand into opted-in channels — no need to buildWhisperrChannelobjects for the common case.
0.1.0 #
- Initial release.
Whisperr.initialize,identify,track,flush,reset.- Durable, ordered outbound queue with batched delivery (
/v1/events/batch), offline persistence, exponential-backoff retry, and 429/auth/client-error handling. - App-lifecycle flush on pause/detach.