Skip to content

0.1.1

Choose a tag to compare

@vsima vsima released this 07 Aug 03:11
· 106 commits to main since this release

Patch release. All Android users should upgrade from 0.1.0 to 0.1.1.

Fixed

  • R8/ProGuard: minified Android apps failed to parse Ledger API responses (CANCELLED: Failed to read message). protobuf-javalite reads generated message fields reflectively, and R8 renames them in shrunk builds. canton-ledger-api now ships consumer keep rules (META-INF/proguard/) that AGP applies automatically — no configuration needed. Verified on-device against a live gRPC server with a minified release build.

If you must stay on 0.1.0, add this rule manually:

-keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite {
    <fields>;
}

Install

implementation("io.github.vsima.canton:canton-sdk:0.1.1")
.package(url: "https://github.com/vsima/canton-mobile-sdk.git", from: "0.1.1")

The Swift SDK is unchanged; the version bump keeps the two SDKs in lockstep.