mars_flutter 1.0.0-dev.0
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 sharedxloginstance and all XLog operations are available directly frompackage:mars_flutter, and Dart and native code log through the same appender instance. - Adds
XlogView, a widget that decodes a.xlogfile (optionally with the ECDH private key for encrypted segments) and renders the plaintext lines. - Native Android API (shared top-level
xloginstance ofdev.invictus_dart.mars_flutter.Xlog): binds the stable C ABI (mars/src/mars.h) with JNA — no Tencent Java/JNI wrapper required. Suspendingflush/decoderun onDispatchers.IO;flushSync/decodeSyncblock the calling thread. - Native iOS/macOS API (shared
xloginstance): loads Flutter's bundledmars.frameworkwithdlopen/dlsym; loading, symbol resolution, and decoding failures are thrown asXlogError.flush/decodeare asynchronous;flushSync/decodeSyncblock 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.