v1.1.0
API Changes
walletlib
Scenario
has been extracted to an interface, and a newLocalScenario
abstract class is provided for all local connection scenarios to inherit fromMobileWalletAdapterConfig
now includes anoConnectionWarningTimeoutMs
which defines the timeout period (in milliseconds) after which the adapter will throw a warning if a connection has not been established.LocalScenario
extends the baseScenario.Callbacks
to provide a new callback:onLowPowerAndNoConnection
. this callback is fired if the scenario detects that the device is in low power mode and no successful connection has been established (within theMobileWalletAdapterConfig.noConnectionWarningTimeoutMs
)- Breaking Change: Wallet apps making use of the
LocalWebSocketServerScenario
will now be required to implement theonLowPowerAndNoConnection
callback inLocalScenario.Callbacks
. Please see the Integration Guide for more information about how wallets should handle this change.
- Breaking Change: Wallet apps making use of the
What's Changed
- Wallet Lib Low Power Mode Warning by @Funkatronics in #363
- Fix ActivityResultSender holding the lock when activity resolution fails by @ankur2136 in #384
- chore(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.3.8 to 1.6.4 in /android by @dependabot in #382
- chore(deps): bump com.android.library from 7.3.1 to 7.4.2 in /android by @dependabot in #386
- docs: add warning about power saving mode by @kewde in #334
- chore(deps): bump com.android.application from 7.3.1 to 7.4.2 in /android by @dependabot in #385
- Docs: Low power no connection callback by @Funkatronics in #387
- Make clientlib-ktx and fakedapp wait for the completion of the previous request by @sdlaver in #388
- Update Dependabot Gradle rules by @sdlaver in #390
- chore(deps): bump io.github.gradle-nexus.publish-plugin from 1.1.0 to 1.3.0 in /android by @dependabot in #391
- chore(deps): bump com.squareup.okhttp3:okhttp from 4.9.0 to 4.10.0 in /examples/example-clientlib-ktx-app by @dependabot in #401
- chore(deps): bump org.bitcoinj:bitcoinj-core from 0.15.10 to 0.16.2 in /examples/example-clientlib-ktx-app by @dependabot in #395
- chore(deps): bump com.google.dagger:hilt-android from 2.42 to 2.45 in /examples/example-clientlib-ktx-app by @dependabot in #393
- chore(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-android from 1.6.2 to 1.6.4 in /js/packages/mobile-wallet-adapter-protocol/android by @dependabot in #397
- chore(deps): bump org.robolectric:robolectric from 4.9 to 4.9.2 in /android by @dependabot in #396
- chore(deps): bump com.google.dagger:hilt-android-gradle-plugin from 2.42 to 2.45 in /examples/example-clientlib-ktx-app by @dependabot in #398
- chore(deps): bump org.jetbrains.kotlin.android from 1.7.10 to 1.8.10 in /examples/example-clientlib-ktx-app by @dependabot in #400
- chore(deps): bump com.solanamobile:mobile-wallet-adapter-clientlib from 0.9.0 to 1.0.5 in /js/packages/mobile-wallet-adapter-protocol/android by @dependabot in #392
- Remove Mockito by @Funkatronics in #402
- Handle activity result cancelled. by @ankur2136 in #405
- chore(deps): bump com.android.tools.build:gradle from 3.5.4 to 7.4.2 in /js/packages/mobile-wallet-adapter-protocol/android by @dependabot in #394
- New improved API for sign_messages by @sdlaver in #403
- docs: add
Scenario.close()
information by @kewde in #350
New Contributors
Full Changelog: v1.0.5...v1.1.0