Skip to content

🐛 Handle missing Android camera activities - #630

Merged
vinceglb merged 1 commit into
mainfrom
vinceglb/fix-android-camera-activity-not-found
Jul 31, 2026
Merged

🐛 Handle missing Android camera activities#630
vinceglb merged 1 commit into
mainfrom
vinceglb/fix-android-camera-activity-not-found

Conversation

@vinceglb

Copy link
Copy Markdown
Owner

Summary

  • prevent the Android Compose camera launcher from crashing when no activity handles ACTION_IMAGE_CAPTURE
  • route ActivityNotFoundException through the existing failed-launch/null-result path
  • add a regression test reproducing the Crashlytics failure

Platforms

  • Android (filekit-dialogs-compose)

Documentation

  • No documentation changes: the public camera-picker API and expected null-result behavior are unchanged.

Validation

  • ./gradlew testAndroidHostTest --console=plain
  • ./gradlew check --no-daemon --console=plain
  • ktlint filekit-dialogs-compose/src/androidMain/kotlin/io/github/vinceglb/filekit/dialogs/compose/FileKitCompose.android.kt filekit-dialogs-compose/src/androidHostTest/kotlin/io/github/vinceglb/filekit/dialogs/compose/AndroidComposePickerReliabilityTest.kt -R ktlint-compose-0.4.28-all.jar
  • independent standards review: 0 findings
  • independent spec/correctness review: 0 findings

@vinceglb
vinceglb merged commit efe0c7b into main Jul 31, 2026
10 checks passed
@vinceglb
vinceglb deleted the vinceglb/fix-android-camera-activity-not-found branch July 31, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant