insito_flutter 0.2.2 copy "insito_flutter: ^0.2.2" to clipboard
insito_flutter: ^0.2.2 copied to clipboard

In-app micro-surveys for Flutter — NPS, ratings, and multi-question flows with theming, offline queueing, logic branching, and automatic screen tracking.

0.2.2 #

  • Fix — the survey modal now renders inside the host app's own Overlay instead of a detached sibling overlay. This keeps its text fields in the app's focus/IME tree, so backspace/deletion works in open-text and "Other" inputs, and the "Other" input auto-focuses when selected. Also centered the rating stars and removed per-keystroke rebuilds of the text field.

0.2.1 #

  • INS-136 fix — offline/queued responses now preserve the render-time device locale (QueuedResponse.locale) so per-market analytics stay accurate when a submit is retried from the queue.

0.2.0 #

  • INS-136 — multilingual surveys. The SDK now resolves per-locale question text, multiple-choice option labels, and welcome/end screen copy from the device locale (exact match → language prefix → default language). Multiple-choice answer values stay canonical so analytics remain consistent across languages.
  • SDK UI labels (INS-135) are now locale-aware: the dashboard delivers per-locale label sets and the SDK resolves them against the device locale, layered over the flat default set and init({ labels }) overrides.
  • Responses submitted via /v1/sdk/response now carry the device locale so the dashboard can slice analytics per market.

0.1.4 #

  • The survey footer's "Powered by" attribution now shows the Insito icon+wordmark lockup next to the text, tinted to the muted theme colour. The mark is embedded as bytes and rendered via Image.memory, so it adds no bundled asset and stays deliverable through Shorebird code patches.

0.1.3 #

  • Brought the survey footer to visual parity with @insito/react-native: the primary action now fills the available width with a 52pt minimum height, Back/Skip render as outlined buttons, and the welcome screen's dismiss link is centered and underlined.
  • Added the footer's hairline top border, and the disabled primary button now uses colors.border rather than a 50% opacity overlay, matching the React Native SDK.
  • Reworked the example/ app into a four-tab "Demo Bank" showcase mirroring the React Native demo, covering app_opened, transfer_completed, card_viewed, and screen-tracking triggers.

0.1.2 #

  • INS-117 — report a clean osVersion on identify() via device_info_plus (iOS system version, Android API level) so the dashboard's audience OS-version breakdown matches the React Native SDK. Falls back gracefully when the plugin is unavailable.
  • Added unit tests for device metadata auto-capture and the identify() metadata merge (developer keys win).

0.1.1 #

  • Raised the minimum SDK to Flutter 3.27 / Dart 3.6 and adopted Color.withValues, clearing all analyzer deprecation hints.
  • Expanded the package description and refreshed flutter_lints to keep the pub.dev score maxed.

0.1.0 #

  • Initial release. Flutter/Dart port of the @insito/react-native SDK.
  • MicroSurvey.init() / identify() / trigger() / evaluate() / submitResponse() / dismissSurvey().
  • InsitoProvider renders the survey modal; InsitoNavigatorObserver auto-tracks screens.
  • Four question types (NPS, rating, multiple choice, open text) plus welcome and end screens.
  • Offline response queue, 24h identify cache, screen-map batching, per-install trigger counters.
  • Theming with light / dark / minimal / rounded presets, Brand Kit mapping, and dark-mode auto-detection.
  • Pub/sub event system with 10 events.
0
likes
150
points
272
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

In-app micro-surveys for Flutter — NPS, ratings, and multi-question flows with theming, offline queueing, logic branching, and automatic screen tracking.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

device_info_plus, flutter, http, shared_preferences

More

Packages that depend on insito_flutter