pyrx_synapse_android 0.2.0
pyrx_synapse_android: ^0.2.0 copied to clipboard
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(wassynapse-{core,push}:0.1.4+). - New transitive dep
synapse-inapp:0.2.0bundled — host apps don't need to add it manually. - SharedFlow observer tap forwards 2 new
PyrxEventsubtypes to the Pigeon EventChannel. - Wire format unchanged —
reasonondismissstays 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 thePyrxSynapsePlatform.instanceper Flutter's federated-plugin pattern- wires Pigeon HostApi + the 5 EventChannel handlers + calls
PyrxPush.install(applicationContext)fromsynapse-push.
- wires Pigeon HostApi + the 5 EventChannel handlers + calls
PyrxSynapseHostApiImpl.kt— implements every method on the Pigeon-generatedPyrxSynapseHostApi. Forwards toPyrx.*on the object surface insynapse-core.PyrxEventStreamHandler.kt— collectsPyrx.events: SharedFlow<...>native-side; pushes envelopes back to Dart via the per-kind EventChannel.
Toolchain floor #
- Android
minSdk 24(transitively fromsynapse-core) - Android
compileSdk 34 - AGP
8.x, Kotlin1.9.x(matches synapse-core) - Java
17for 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.