pyrx_synapse_android 0.2.0 copy "pyrx_synapse_android: ^0.2.0" to clipboard
pyrx_synapse_android: ^0.2.0 copied to clipboard

PlatformAndroid

Android implementation of the PYRX Synapse Flutter SDK. Bridges Dart calls to the published `tech.pyrx.synapse:synapse-core` and `:synapse-push` Kotlin SDKs from Maven Central, and forwards the SDK's [...]

0.2.0 - 2026-07-01 #

Android bridge for the in-app messaging surface (ADR-0008 + ADR-0009). Delegates to Pyrx.inApp.* in tech.pyrx.synapse:synapse-core 0.2.0.

Changed #

  • Native deps pinned to tech.pyrx.synapse:synapse-{core,push,inapp}:0.2.0 (was synapse-{core,push}:0.1.4+).
  • New transitive dep synapse-inapp:0.2.0 bundled — host apps don't need to add it manually.
  • SharedFlow observer tap forwards 2 new PyrxEvent subtypes to the Pigeon EventChannel.
  • Wire format unchanged — reason on dismiss stays host-side observer only.

0.1.0 - 2026-06-28 #

First public release. Android implementation of the PYRX Synapse Flutter SDK federation. Bridges Dart calls to the published tech.pyrx.synapse:synapse-core 0.1.4+ and :synapse-push 0.1.4+ Kotlin SDKs from Maven Central.

What's here #

  • PyrxSynapsePlugin.kt — plugin registration. Auto-installs the PyrxSynapsePlatform.instance per Flutter's federated-plugin pattern
    • wires Pigeon HostApi + the 5 EventChannel handlers + calls PyrxPush.install(applicationContext) from synapse-push.
  • PyrxSynapseHostApiImpl.kt — implements every method on the Pigeon-generated PyrxSynapseHostApi. Forwards to Pyrx.* on the object surface in synapse-core.
  • PyrxEventStreamHandler.kt — collects Pyrx.events: SharedFlow<...> native-side; pushes envelopes back to Dart via the per-kind EventChannel.

Toolchain floor #

  • Android minSdk 24 (transitively from synapse-core)
  • Android compileSdk 34
  • AGP 8.x, Kotlin 1.9.x (matches synapse-core)
  • Java 17 for the Gradle build
  • Flutter >= 3.24.0, Dart ^3.6.0

Notes #

The synapse-push AAR's manifest auto-registers PyrxMessagingService via Android's manifest merger — no consumer-side service declaration needed.

Customers consume the umbrella pyrx_synapse package; this Android platform package resolves transitively per Flutter's federated-plugin resolver.

0
likes
140
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Android implementation of the PYRX Synapse Flutter SDK. Bridges Dart calls to the published `tech.pyrx.synapse:synapse-core` and `:synapse-push` Kotlin SDKs from Maven Central, and forwards the SDK's SharedFlow<PyrxEvent> observer surface to Dart through Pigeon-generated event channels.

Repository (GitHub)
View/report issues

Topics

#pyrx #synapse #android #push-notifications

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, pyrx_synapse_platform_interface

More

Packages that depend on pyrx_synapse_android

Packages that implement pyrx_synapse_android