btx 0.0.2 copy "btx: ^0.0.2" to clipboard
btx: ^0.0.2 copied to clipboard

BTX Flutter SDK for customer app telemetry, feature flags, messaging, and native integrations.

Changelog #

0.0.2 #

  • Widen the package_info_plus dependency bound so host Flutter apps already on the 9.x package line can consume btx without dependency overrides.

0.0.1 #

  • Initial public release of btx.
  • Add the facade-first public API: Btx.configure, Btx.identify, Btx.log, Btx.refreshFeatureFlags, and Btx.messenger.
  • Add BtxHost as the root widget anchor for SDK-owned messenger sheets, foreground notification UI, lifecycle observation, and iOS push bridge setup.
  • Ship customer app telemetry, feature flags, support messaging, image upload, in-app message notifications, unread reminders, theme customization, and iOS push registration/token forwarding.
  • Rebuild the repo demo app around fixture mode and real BTX project mode.

0.1.7 #

  • Add BtxCustomerSdk.refreshFeatureFlags() so Flutter host apps can re-evaluate customer-app feature flags on demand through the existing session-ping route.
  • Replace the stored feature-flag snapshot after an explicit refresh in both main-isolate and worker-isolate telemetry runtimes.
  • Clarify that sdk.featureFlags and sdk.isFeatureEnabled(...) stay synchronous reads, while await sdk.refreshFeatureFlags() is the explicit path for picking up live BTX targeting changes before session expiry.

0.1.5 #

Breaking API change:

  • Replace appId / apiKey config with publishableClientKey so Flutter matches the iOS customer SDK auth flow.
  • Send x-btx-publishable-client-key on static customer-app bootstrap/session requests and keep bearer session tokens for runtime requests.
  • Change bundled credentials files to use publishableClientKey per platform.
  • Align messenger push payload matching with the iOS SDK by keying customer-messenger notifications on projectId.
  • Clarify the SDK-owned worker envelope flow for background telemetry forwarding.

0.1.4 #

Breaking API change:

  • BtxCustomerSdk.initialize(initialization: ...) is now the single public bootstrap path.
  • Add BtxCustomerSdkInitialization.explicit(...) and .bundledCredentials(...) as the supported initialization strategies.
  • Add BtxTelemetryConfiguration.runtimeMode so the SDK facade can run telemetry on the main isolate or a worker isolate.
  • Add sdk.setAppSession(...) for explicit app-session replacement after initialization.
  • Remove BtxHeadlessBootstrap, BtxHeadlessCoordinator, and BtxHeadlessTelemetry from the public package surface.
  • Add BtxCustomerSdkScope for widget-tree lookup of an already created SDK instance.
  • Rewrite the README and architecture docs around the unified bootstrap model and advanced telemetry runtime behavior.

0.1.3 #

  • Rewrite the public README around headless telemetry integration for Flutter host apps.
  • Document initialization, app-session ownership, custom activities, structured events, diagnostic logs, lifecycle flush behavior, and shutdown ordering.
  • Add inline Dart API docs for the public telemetry surface so IDE usage guidance matches the published README.

0.1.1 #

  • Default BtxClientConfiguration to BTX production.
  • Add BtxClientConfiguration.withApiBaseUrl(...) for explicit staging or local overrides.

0.1.0 #

  • Initial public release of btx.
  • Ships customer messenger UI, host telemetry capture, and iOS push bridging.
  • Publishes under the new btx package name with aligned native plugin identifiers.
0
likes
0
points
552
downloads

Publisher

unverified uploader

Weekly Downloads

BTX Flutter SDK for customer app telemetry, feature flags, messaging, and native integrations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, image, image_picker, package_info_plus, path, path_provider, shared_preferences, uuid

More

Packages that depend on btx

Packages that implement btx