apptracer_flutter_http 0.1.0 copy "apptracer_flutter_http: ^0.1.0" to clipboard
apptracer_flutter_http: ^0.1.0 copied to clipboard

Pure-Dart transport to the HTTP ingest of Tracer (apptracer.ru). Delivers Dart errors from Flutter web, desktop and Aurora OS, where no native Tracer SDK is reachable. Part of apptracer_flutter.

Changelog #

All notable changes to this package are documented here.

The format follows Keep a Changelog, and this package adheres to Semantic Versioning. While the version is below 1.0.0, a breaking change bumps the minor version, as pub.flutter-io.cn expects.

Unreleased #

0.1.0 - 2026-08-28 #

Added #

  • The transport reads resolvedEnvironment, and takes versionCode from dist when it is set, so a real build number is reported rather than one derived from the version name — 1.2.3 and 1.2.3+7 were otherwise the same build.

  • The transport reads TracerOptions.resolvedAppToken, so webAppToken is honoured where it is set.

  • Initial release.

  • TracerHttpTracer, a pure-Dart TracerPlatform that posts to Tracer's own ingest — POST /api/crash/uploadBatch, authenticated by the project's appToken. Used by web, and registered by hand on desktop and Aurora OS.

  • TracerClientFacts with a browser implementation in apptracer_flutter_web and PlatformClientFacts elsewhere.

  • A network failure never propagates into the host application.

  • Breadcrumbs, custom keys and userId. Breadcrumbs travel in logsFile as base64 of #<index> <epoch millis> | <text> rows, capped at 64 000 bytes with the oldest dropped first — the format LogsData in @apptracer/sdk 2.6.9 uses, and the one the console's log table insists on.

  • TracerLogBuffer, holding that log, with the row format pinned by tests.

Changed #

  • Custom keys are sent both as uploadBean.properties and as uploadBean.tags. The vendor's SDK sends only tags, but the console's data tab reads only properties; measured 2026-08-27 by sending one event each way.

Note on the name #

Released as apptracer_flutter_http. It was written as apptracer_flutter_sentry and spoke the Sentry protocol, on the belief that Tracer ingests that way on platforms without a native SDK. Measured against a live project on 2026-08-26, no project is issued a DSN and the vendor's own SDKs post to their own API, so both the name and the protocol were replaced before the first release.

0
likes
135
points
104
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart transport to the HTTP ingest of Tracer (apptracer.ru). Delivers Dart errors from Flutter web, desktop and Aurora OS, where no native Tracer SDK is reachable. Part of apptracer_flutter.

Repository (GitHub)
View/report issues

Topics

#crash-reporting #error-monitoring #observability #tracer

License

MIT (license)

Dependencies

apptracer_flutter_platform_interface, flutter, http, meta

More

Packages that depend on apptracer_flutter_http