rybbit_flutter_sdk 0.2.5
rybbit_flutter_sdk: ^0.2.5 copied to clipboard
Flutter SDK for Rybbit Analytics. Track screen views, events, errors, and user identification with offline queue, GA4 events, and multi-platform support.
0.2.5 #
- Fix a crash in the host app when the SDK is disposed while a flush is still
running. The flush timer, the lifecycle observer and the connectivity listener
start their work without awaiting it, so
dispose()could close the offline box underneath one of them and the write surfaced as an uncatchableHiveError: Box has already been closed.Everything that touches the offline store now runs on one chain thatdispose()waits for, work queued after disposal is skipped, and a failure there is logged instead of reaching the host app's zone handler. autoUploadIconnow defaults tofalse. The upload endpoint requires an authenticated site admin, so a shipped app always got a 403 back — the option only ever produced a warning in the log. Upload the icon from Site Settings instead.
0.2.4 #
- Fix pub.dev version sync with latest changes
0.2.3 #
- Fix
dart:ioimport breaking web compilation (conditional imports) - Fix SDK version constant synced with pubspec (0.2.3)
- Fix offline store data loss: events are now sent before clearing the store
- Add 15s timeout to all HTTP requests
- Replace
print()withdebugPrint()in HTTP client - Close HTTP client on
dispose()
0.2.2 #
- Add server PR #921 dependency note to README
0.2.1 #
- Add dartdoc comments to public API (20%+ coverage for pub.dev score)
- Widen
connectivity_plusconstraint to support 7.x (>=6.0.0 <8.0.0)
0.2.0 #
- BREAKING: Package renamed from
rybbit_fluttertorybbit_flutter_sdk - Auto icon upload — automatically uploads app launcher icon to Rybbit dashboard
hasSiteIcon()anduploadSiteIcon()transport methodsautoUploadIconandiconAssetPathconfiguration options
0.1.0 #
- Initial release
- Core tracking: screenView, event, trackError
- User identification: identify, setTraits, clearUserId
- Persistent offline queue (Hive)
- App lifecycle tracking
- NavigatorObserver for auto screen tracking
- GA4 typed event extensions
- Debug and dry-run modes
- Global properties