swetrix_flutter 0.1.1 copy "swetrix_flutter: ^0.1.1" to clipboard
swetrix_flutter: ^0.1.1 copied to clipboard

A lightweight Swetrix Events API client for Flutter and Dart apps.

0.1.1 #

  • Initial public release of the Swetrix Events API client for Flutter/Dart.
  • Added SwetrixFlutterClient helper that auto-collects OS, OS version, device type, language, country, browser (web), app version, and build number.
  • Automatically injects User-Agent and X-Client-IP-Address headers (with configurable resolver) so Swetrix deduplicates visitors out of the box.
  • Persist visitor identifiers with SharedPreferences to keep unique user counts stable across sessions.
  • Supports page view, custom event, error, and heartbeat tracking with automatic visitor metadata and optional self-hosted endpoints.
  • Ships with unit tests and an updated Flutter example leveraging the new helper.
0
likes
130
points
184
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Swetrix Events API client for Flutter and Dart apps.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

device_info_plus, flutter, http, meta, package_info_plus, shared_preferences, uuid

More

Packages that depend on swetrix_flutter