baseerh_sdk 0.1.1
baseerh_sdk: ^0.1.1 copied to clipboard
Baseera analytics & engagement SDK for Flutter — product analytics, feature flags, push, and PDPL-compliant consent for iOS & Android.
Changelog #
All notable changes to the Baseera Flutter SDK are documented here. The format is based on Keep a Changelog.
0.1.1 - 2026-06-07 #
Changed #
- README install instructions now use the pub.dev dependency
(
flutter pub add baseerh_sdk) instead of a git/path dependency.
0.1.0 - 2026-06-06 #
Initial release. Pure-Dart SDK for iOS & Android (Flutter ≥ 3.10).
Added #
- Core analytics:
setup,capture,identify,alias,group,reset,flush,screen,trackRevenue,setPersonProperties. - Feature flags:
isFeatureEnabled,getFeatureFlag,getFeatureFlagPayload,reloadFeatureFlags,onFeatureFlags, bootstrap flags,$feature_flag_calledexposure tracking. Backed by/v1/decidewith on-disk caching. - PDPL consent:
optIn,optOut,hasOptedIn,hasOptedOut,getConsentState. Capture is blocked while opted out; state persists. - Push:
registerDeviceToken(fcm/apns/hms),trackPushOpened,trackPushReceived. Token re-registers automatically afteridentify. - Deep links:
trackDeepLink. - Engagement:
getContentCards,trackCardImpression/Click/dismissCard,getSurveys,submitSurveyResponse,getPreferences,updatePreference. - Reliability: persistent offline queue (
shared_preferences), batching at 20 events / 30s, exponential backoff with 429Retry-Afterhandling, drop-oldest overflow at 1000 events, 32KB/event + 1KB/property truncation, connectivity-aware flushing (connectivity_plus). - Lifecycle: auto-tracked
Application Opened/Application Backgrounded. - Diagnostics:
onErrorcallbacks,debugtoggle. - 18 unit tests; runnable
example/app.