Repository navigation
Update Breez SDK Spark to 0.26.1 - #1116
Merged
Merged
Conversation
AleksandarIlic
self-requested a review
October 16, 2026 10:26
AleksandarIlic
approved these changes
Oct 16, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update Breez SDK Spark to 0.26.1
Bumps
technology.breez.spark:breez-sdk-spark-kmpfrom 0.23.1 to 0.26.1.Changes
gradle/libs.versions.toml:breez-spark-kmp-sdkset to0.26.1. The iOSbreez_sdk_sparkFFI.xcframeworkdownload inshared/build.gradle.ktsderives its version from this entry, so it updates automatically.SparkWalletManagerImpl.kt: handles the newSdkEvent.PaymentMetadataUpdatedvariant, logging only.SdkEventis sealed andour
whenhas noelse, so this branch is required to compile. The event only carries cross-chain receive metadata, and we don'tenable cross-chain (no
crossChainConfig).Decision already made: early deposit claims
In 0.26.1 the SDK removed
Config.maxInstantDepositClaimFeeBps.maxDepositClaimFeenow caps both the normal claim at maturityand the provider's spread for crediting a deposit early, before confirmations.
maxInstantDepositClaimFeeBps. It was opt-in, so early claims were off and deposits waited forconfirmations.
maxDepositClaimFee = MaxFee.Fixed(50_000)inBreezSdkInstanceManager.ktalso allows automatic earlyclaims when the provider's spread is 50,000 sats or less per deposit, without asking the user.
Other SDK changes reviewed, no action needed
Configfields we set,Payment,PaymentDetails,PaymentStatus,listPayments, send/receive requests, LNURL. Changed or removed APIs (ClaimDepositResponse.outcome,getSparkStatussignature,ConfirmationStatus,SourceAsset,SourceChain) are not used by the app.SdkExceptionvariants: cross-chain only. They fall into the existingelseintoWalletException.SendOnchainFeeQuote.isEstimate: only set when a stable-token conversion funds the send. We don't configurestableBalanceConfig.on an upgraded wallet DB is not supported.
libc++_shared.sois nolonger bundled, and it was never a dynamic dependency.
.sofiles are about 35% smaller. The AAR minSdk is 24, and ours is 26.Verification
:data:wallet:repositorycompiles for Android and iOS simulator arm64 with no new warnings.:shared:linkDebugFrameworkIosSimulatorArm64links against the 0.26.1 xcframework.testAndroidHostTest: 65 tests, 0 failures. There are no iOS test sources, and no unit tests cover