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

PlatformmacOS

macOS implementation of zuraffa_messaging — the native messaging-store plugin (Swift, UserDefaults) plus the contract conformance kit.

zuraffa_messaging_macos #

The macOS implementation of zuraffa_messaging: the native messaging-store plugin (ZuraffaMessagingPlugin, Swift) persisting the send log in UserDefaults, plus the contract conformance kit host apps run their wired channel against.

What's in the box #

  • macos/ — the native ZuraffaMessagingPlugin Flutter plugin serving the shared channel contract.
  • MacosMessagingContract — the macOS pinning of MessagingChannelContract.shared: platform identifier, native plugin type name, and the verbatim contract (channel plugins.zuraffa.dev/messaging, method table send · acknowledge · blockRecipient · sent · reset, error code undeliverable, the msg-<channel>-<n> id grammar).

Usage #

Add the platform package next to the app-facing package; then wire the Dart side over the injected bridge (see the core README):

final messaging = MessagingService()
  ..register(BridgeTransport('sms', MethodChannelBridge()));

Diff-check the wired channel against the shipped contract:

final kit = const MacosMessagingContract();
expect(kit.contract, MessagingChannelContract.shared);
0
likes
140
points
70
downloads

Documentation

API reference

Publisher

verified publisherzuraffa.com

Weekly Downloads

macOS implementation of zuraffa_messaging — the native messaging-store plugin (Swift, UserDefaults) plus the contract conformance kit.

Homepage
Repository (GitHub)
View/report issues

Topics

#messaging #macos #zuraffa

License

MIT (license)

Dependencies

flutter, zuraffa_messaging

More

Packages that depend on zuraffa_messaging_macos

Packages that implement zuraffa_messaging_macos