mightys_pulse 0.9.6
mightys_pulse: ^0.9.6 copied to clipboard
Privacy-first analytics for Flutter apps and games on Android and iOS. Named events, no device IDs, offline queue. See your signals in the MightyS Pulse dashboard.
Changelog #
All notable changes to this package are documented here. The format follows Keep a Changelog and the package follows Semantic Versioning.
0.9.6 - 2026-11-16 #
- A signal that is dropped because its name or value is not valid no longer starts a session or keeps one alive.
- Works with older versions of device_info_plus, package_info_plus, connectivity_plus and battery_plus, so apps that pin older plugins (for example share_plus 10 or file_picker 11) resolve.
0.9.5 - 2026-11-16 #
- A batch that is sent again after a lost answer is stored only once.
0.9.4 - 2026-11-16 #
- Signals captured in the same millisecond keep their order: timestamps are strictly increasing.
- Screen views: add
Pulse.navigatorObserverto your navigator observers (also works with go_router) to sendpulse.screen_viewwith the screen name and the previous one. Dialogs and bottom sheets are skipped.Pulse.screen('Name')sends one by hand. - Switch the observer off with
PulseOptions(automaticScreenViews: false). - Settings from the portal: once per launch the SDK reads which screen views, automatic signals and field groups are switched on, keeps them, and applies them from the next launch. Everything stays on when they cannot be read. Opt-out deletes them.
- New option
automaticSignals(default true) switches offpulse.session_started,pulse.new_installandpulse.app_updated. pulse.app_updatedis no longer lost when a launch cannot send it (automatic signals off): the stored version now changes only when the event is queued.
0.9.3 - 2026-11-15 #
- Every signal now carries the device, screen, settings, app and usage values the platform can give, with no setup: device type and brand, CPU architecture, API level, screen size and scale, orientation, colour scheme, language and region, text scale and accessibility settings, connection type, battery saver, app name, install source and debug build flag.
- Usage statistics travel with each signal: first session date, sessions so far, distinct days used, previous and average session length.
- Three automatic signals:
pulse.session_started,pulse.new_installandpulse.app_updated. They are one per session or rarer and follow opt-out. - The package or bundle id is now sent by default (set
sendAppIdentity: falseto leave it out). - Adds the
connectivity_plusandbattery_plusplugins for connection type and battery saver.
0.9.2 - 2026-11-15 #
- Users are counted without any setup: the SDK sends a random anonymous install id (hashed) until you call
setUser. - The install id is created on first launch, stored only in the app's own storage, deleted with the app and replaced after opt-out.
- The first signals after start now carry the device and app details.
- The OS version is filled in on Linux and after a device info failure, so every signal carries it.
0.9.1 - 2026-11-15 #
- README: a Test mode section that explains how signals are marked as test or real.
0.9.0 - 2026-11-15 #
Initial public release.
Added #
Pulse.initialize,Pulse.track,Pulse.setUser,Pulse.flush,Pulse.setOptOutandPulse.optOut: named signals with an optional number and a few properties.- Privacy by design: no advertising id, no device identifier, no cookies and no fingerprinting. Sessions use random ids that rotate after 30 minutes of inactivity.
- Optional user id, hashed with SHA-256 on the device before it leaves. The raw id is never stored or sent.
- Opt-out in one call. The choice is remembered and the queue is cleared.
- Batched delivery: the first batch after start is sent at once, later batches follow an interval (20 seconds by default) or a batch size. Request bodies are gzipped.
- Offline queue on disk that survives restarts, with retries and exponential backoff.
- Public calls never throw into the host app and never block the main thread.
PulseOptionsfor host, flush interval, batch size, queue limits, gzip, debug output and optional app identity.- Example app in
example/.