diff --git a/CHANGELOG.md b/CHANGELOG.md index 84be6b262..1bf8128a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ ### Changed - Show the normal consent screen as part of BVN Verification - The parameters of BvnConsentScreen have been updated to support inclusion of the consent screen +- Bump Compose BOM to 2023.09.02 +- Bump AGP to 8.1.2 +- Bump Sentry to 6.30.0 ### Removed diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 572f51a0c..172090494 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,15 +1,15 @@ [versions] accompanist-permissions = "0.32.0" -android-gradle-plugin = "8.1.1" +android-gradle-plugin = "8.1.2" androidx-activity = "1.7.2" # TODO: Check if https://android-review.googlesource.com/c/platform/frameworks/support/+/2576871 has # been merged and if so, swap the buttons in ImageCaptureConfirmationDialog -androidx-compose-bom = "2023.09.01" +androidx-compose-bom = "2023.09.02" androidx-compose-compiler = "1.5.3" androidx-core = "1.12.0" androidx-fragment = "1.6.1" androidx-lifecycle = "2.6.2" -androidx-navigation = "2.7.2" +androidx-navigation = "2.7.3" androidx-test-core = "1.5.0" androidx-test-espresso = "3.5.1" androidx-test-fragment = "1.6.1" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9f4197d5f..ac72c34e8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/lib/src/main/java/com/smileidentity/compose/document/DocumentCaptureScreen.kt b/lib/src/main/java/com/smileidentity/compose/document/DocumentCaptureScreen.kt index 6741f042a..4b417310b 100644 --- a/lib/src/main/java/com/smileidentity/compose/document/DocumentCaptureScreen.kt +++ b/lib/src/main/java/com/smileidentity/compose/document/DocumentCaptureScreen.kt @@ -127,9 +127,7 @@ internal fun DocumentCaptureScreen( Timber.v("onInstructionsAcknowledgedSelectFromGallery") photoPickerLauncher.launch(PickVisualMediaRequest(ImageOnly)) }, - onInstructionsAcknowledgedTakePhoto = { - viewModel.onInstructionsAcknowledged() - }, + onInstructionsAcknowledgedTakePhoto = viewModel::onInstructionsAcknowledged, onSkip = onSkip, ) }