Skip to main content

zuraffa_ffi_android 0.2.1 copy "zuraffa_ffi_android: ^0.2.1" to clipboard
zuraffa_ffi_android: ^0.2.1 copied to clipboard

Typed FFI support for the Zuraffa ecosystem: a pure-Dart port, module lifecycle, and typed failures behind an injected platform channel with federated adapters.

zuraffa_ffi_android #

Android adapter for the zuraffa_ffi federated monorepo: the Ffi port over an injected platform channel, with the shared envelope machinery from zuraffa_ffi_platform and a typed failure taxonomy as pure data.

The channel transport is injected — no Flutter plugin boilerplate, no native code in this repo. The consuming app (or a native shell) supplies the ChannelInvoke seam:

import 'package:zuraffa/zuraffa.dart';
import 'package:zuraffa_ffi_android/zuraffa_ffi_android.dart';

void register() {
  registerAndroidFfiDependencies(
    GetIt.instance,
    channel: AndroidFfiChannel(
      invoke: (method, args) => nativeBridge.call(method, args),
    ),
  );
}

Without an injected channel every call surfaces the typed channel_not_wired failure instead of hanging.

Develop #

dart pub get
dart test
0
likes
150
points
268
downloads

Documentation

API reference

Publisher

verified publisherzuraffa.com

Weekly Downloads

Typed FFI support for the Zuraffa ecosystem: a pure-Dart port, module lifecycle, and typed failures behind an injected platform channel with federated adapters.

Homepage
Repository (GitHub)
View/report issues

Topics

#ffi #android #clean-architecture #zuraffa

License

MIT (license)

Dependencies

zuraffa, zuraffa_ffi_platform

More

Packages that depend on zuraffa_ffi_android