Skip to content

Commit a235128

Browse files
authored
Expose askForBiometrics() to host (#281)
* Make handler's askForBiometrics public * Bump version
1 parent fd5281b commit a235128

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/sargon-uniffi/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sargon-uniffi"
33
# Don't forget to update version in crates/sargon/Cargo.toml
4-
version = "1.1.66"
4+
version = "1.1.67"
55
edition = "2021"
66
build = "build.rs"
77

crates/sargon/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sargon"
33
# Don't forget to update version in crates/sargon-uniffi/Cargo.toml
4-
version = "1.1.66"
4+
version = "1.1.67"
55
edition = "2021"
66
build = "build.rs"
77

jvm/sargon-android/src/main/java/com/radixdlt/sargon/os/driver/AndroidBiometricAuthorizationDriver.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class BiometricsHandler(
6363
.launchIn(activity.lifecycleScope)
6464
}
6565

66-
internal suspend fun askForBiometrics(): Result<Unit> {
66+
suspend fun askForBiometrics(): Result<Unit> {
6767
// Suspend until an activity is subscribed to this channel and is at least started
6868
biometricRequestsChannel.send(Unit)
6969

0 commit comments

Comments
 (0)