Skip to main content

ours_privacy 1.0.1 copy "ours_privacy: ^1.0.1" to clipboard
ours_privacy: ^1.0.1 copied to clipboard

Official Ours Privacy analytics SDK for Flutter apps on iOS and Android: events, identity, consent, sessions, screens, and deep-link attribution.

Changelog #

1.0.1 #

  • A visitor ID set with setVisitorId(), the visitorId option, a deep link, or reset() stays marked as manually set after the app restarts.

1.0.0 #

  • Initial release of the Ours Privacy Flutter SDK for iOS and Android apps, written in Dart with no native setup. Requires Flutter 3.13+ (Dart 3.1+).
  • Track events, identify users, and manage default event, user custom, and consent properties; events are batched, persisted across restarts, and sent every 10 seconds or on flush().
  • Opt in to canonical $mobile_* lifecycle events (first open, app open, session start/end, engagement, app update) with trackAutomaticEvents: true; call trackScreen() from a NavigatorObserver for screen views. Invalid screen labels are ignored with a warning.
  • Consent controls: optOutTrackingByDefault, optInTracking(), and optOutTracking(), which discards unsent events and cancels uploads in progress.
  • Web-to-app identity and attribution with trackDeepLink(), setVisitorId(), and getVisitorId(): ours_visitor_id, UTM parameters, and ad click IDs are read from links without sending the raw URL.
  • No IDFA or advertising identifiers; no AppTrackingTransparency prompt is needed.
  • Storage failures surface as OursPrivacyException. For tests, pass storage: InMemoryStorage() and httpClient: to init(), and call close() to stop the SDK's timers and lifecycle listener.
0
likes
140
points
45
downloads

Documentation

Documentation
API reference

Publisher

verified publisheroursprivacy.com

Weekly Downloads

Official Ours Privacy analytics SDK for Flutter apps on iOS and Android: events, identity, consent, sessions, screens, and deep-link attribution.

Homepage
Repository (GitHub)
View/report issues

Topics

#analytics #privacy #tracking #attribution

License

unknown (license)

Dependencies

ffi, flutter, http, shared_preferences

More

Packages that depend on ours_privacy