Skip to main content

respondo_sdk 0.3.0 copy "respondo_sdk: ^0.3.0" to clipboard
respondo_sdk: ^0.3.0 copied to clipboard

Native Respondo support-chat SDK for Flutter: chat, news, surveys, banners, checklists and push notifications in pure Dart, with no native code.

Changelog #

0.3.0 #

  • Breaking: identify() replaces the identity instead of merging it into the previous one, as the web widget, iOS and Android SDKs do: a field you do not pass is cleared. A call that updates one field, such as identify(RespondoIdentity(name: 'Ann')) after identify(RespondoIdentity(userId: 'u_1')), now drops userId: the SDK treats it as another contact, closes that user's survey and forgets the session's tracked events. Pass the full identity (userId and email together, plus name / userHash if you use them) on every call.
  • Signing in from an anonymous session keeps the session's tracked events; switching from one user to another forgets them, so user A's track() does not open user B's event-triggered survey.
  • Pop-up surveys follow their When and where settings: Show on (sites, apps or both), screen rules matched against the name you pass to setCurrentScreen(), time on screen, and a trigger event sent with track(). Page-address rules apply to websites only.
  • Respondo.startSurvey(surveyId) opens a live pop-up survey right away, skipping its targeting rules and audience. Copy the id from the survey editor (Additional ways to share). A survey the user already answered is not shown again.

0.2.0 #

  • Push registration follows identify and reset: a device that got its push token before login is re-registered under the logged-in user, so segments on "has the mobile app" see it (before, it stayed on the anonymous visitor).

  • Registration reports sdk_name, so the dashboard can show which SDK versions your installs run.

  • Push campaigns open their "Screen to open on tap" link: the SDK hands the URI to the app's navigation the same way the engine delivers an OS deep link (pushRouteInformation). Links nobody accepts still reach onUnhandledDeepLink.

0.1.2 #

Replaced the bundled example with a minimal, self-contained integration sample (init, open chat, unread badge, identify, reset). The previous example shipped internal QA defaults; it now lives outside the package. No changes to the SDK itself.

0.1.1 #

Public pub.dev release polish: rewritten README, no functional changes.

0.1.0 #

Initial release of the Respondo Flutter SDK (pure Dart, no native code).

  • Chat core: anonymous and HMAC-verified identity, optimistic send, resume and history, unread counter, escalation.
  • Realtime cascade WebSocket → SSE → polling with automatic reconnect.
  • Engagement surfaces: news, surveys (NPS/CSAT), banners, checklists, proactive messages.
  • Push notifications: setPushToken/clearPushToken, handlePush with message-id de-duplication and foreground suppression.
  • Theming from the Respondo widget config with per-field overrides; English and Russian bundled strings with locale auto-detection.
0
likes
160
points
400
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Native Respondo support-chat SDK for Flutter: chat, news, surveys, banners, checklists and push notifications in pure Dart, with no native code.

Homepage

License

MIT (license)

Dependencies

flutter, http, uuid, web_socket_channel

More

Packages that depend on respondo_sdk