btx 0.0.2
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_plusdependency bound so host Flutter apps already on the 9.x package line can consumebtxwithout dependency overrides.
0.0.1 #
- Initial public release of
btx. - Add the facade-first public API:
Btx.configure,Btx.identify,Btx.log,Btx.refreshFeatureFlags, andBtx.messenger. - Add
BtxHostas 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.featureFlagsandsdk.isFeatureEnabled(...)stay synchronous reads, whileawait sdk.refreshFeatureFlags()is the explicit path for picking up live BTX targeting changes before session expiry.
0.1.5 #
Breaking API change:
- Replace
appId/apiKeyconfig withpublishableClientKeyso Flutter matches the iOS customer SDK auth flow. - Send
x-btx-publishable-client-keyon static customer-app bootstrap/session requests and keep bearer session tokens for runtime requests. - Change bundled credentials files to use
publishableClientKeyper 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.runtimeModeso 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, andBtxHeadlessTelemetryfrom the public package surface. - Add
BtxCustomerSdkScopefor 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
BtxClientConfigurationto 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
btxpackage name with aligned native plugin identifiers.