zuraffa_ffi_macos
macOS 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_macos/zuraffa_ffi_macos.dart';
void register() {
registerMacosFfiDependencies(
GetIt.instance,
channel: MacosFfiChannel(
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
Libraries
- zuraffa_ffi_macos
- zuraffa_ffi_macos — the macOS adapter of the
zuraffa_ffifederated plugin: register, channel, typed exception, port.