binnacle 0.1.0
binnacle: ^0.1.0 copied to clipboard
Pull-based flight recorder for Flutter apps: sessions, navigation and HTTP captured locally, uploaded in batches on demand.
0.1.0 #
First release. Records on the device and hands the recording over on demand.
- Sessions, with the rules for cold starts, long stays in the background, processes that were killed, signing out and sessions that run too long.
- Navigation from a navigator observer, from a router, or reported by an app that already funnels its own navigation.
- HTTP through a dio interceptor, or reported call by call for clients no interceptor can reach.
- Sanitization before anything reaches the disk: bodies only for the app's own API, recursive redaction by key, and routes an app can declare sensitive so nothing but the visit is kept while one is on screen.
- Buffered writes into sqflite, with retention, degradation under pressure and recording that gives up quietly rather than take an app down with it.
exportBatch()for reading a recording, andforget()for dropping it.- No-op on the web, where there is no database to record into.
The uploader — the protocol that asks a backend whether it wants the recording and sends it — is not in this release.