Skip to main content

mars_flutter 1.0.0-dev.0 copy "mars_flutter: ^1.0.0-dev.0" to clipboard
mars_flutter: ^1.0.0-dev.0 copied to clipboard

Tencent/mars for Flutter. The Dart API is re-exported from mars, and the native APIs share the same library.

1.0.0-dev.0 #

  • Initial development prerelease of the Mars Flutter plugin.
  • The Dart API is re-exported from package:mars: the shared xlog instance and all XLog operations are available directly from package:mars_flutter, and Dart and native code log through the same appender instance.
  • Adds XlogView, a widget that decodes a .xlog file (optionally with the ECDH private key for encrypted segments) and renders the plaintext lines.
  • Native Android API (shared top-level xlog instance of dev.invictus_dart.mars_flutter.Xlog): binds the stable C ABI (mars/src/mars.h) with JNA — no Tencent Java/JNI wrapper required. Suspending flush/decode run on Dispatchers.IO; flushSync/decodeSync block the calling thread.
  • Native iOS/macOS API (shared xlog instance): loads Flutter's bundled mars.framework with dlopen/dlsym; loading, symbol resolution, and decoding failures are thrown as XlogError. flush/decode are asynchronous; flushSync/decodeSync block the calling thread.
  • Windows and Linux register the plugin through the standard plugin registrants; use the Dart API (package:mars) for logging on those platforms.
  • Note: this is a prerelease — the API surface may change in breaking ways before 1.0.0.
0
likes
0
points
61
downloads

Publisher

verified publisherinvictus-dart.dev

Weekly Downloads

Tencent/mars for Flutter. The Dart API is re-exported from mars, and the native APIs share the same library.

Repository (GitHub)
View/report issues

Topics

#mars

License

unknown (license)

Dependencies

flutter, mars

More

Packages that depend on mars_flutter

Packages that implement mars_flutter