Skip to content

Conversation

@ChochaNaresh
Copy link
Owner

✨ What's Changed

Describe the changes you made in this PR.

✅ Checklist

  • ✅ I've tested this on a device/emulator
  • ✅ I've added tests where applicable
  • ✅ I've updated documentation (if needed)
  • ✅ This PR follows the CONTRIBUTING.md guidelines

ChochaNaresh and others added 20 commits May 27, 2025 11:12
…cies

This commit introduces the following changes to the sample app:

- Added a `FilePickerWithResultList` composable to display picked files.
- Integrated the result list into the `AllFilePickers` composable to show selected images, videos, and other documents.
- Refactored `AllFilePickers` to manage picked files in a list and update the UI accordingly.
- Enabled Coil library for image loading.
- Updated various dependencies including Android Gradle Plugin, Kotlin, Maven Publish, and Truth.
This commit updates the Proguard rules for both the library and sample app to use a simpler configuration. It also enables edge-to-edge display in all Activities within the `filepickerlibrary` by calling `enableEdgeToEdge()` in their `onCreate` methods.

Additionally, the sample app's version code and name have been incremented, and some minor UI adjustments have been made to the `FilePickerWithResultList` composable. Test dependencies and Kotlin JVM target settings have been removed from the library's build script.
This commit updates the Kotlin JVM target to 21 for both the library and sample app. It also removes unused test dependencies and the `ExampleUnitTest.kt` file from the sample app.

Additionally, the `@Keep` annotation has been removed from various classes and functions within the `filepickerlibrary` as it is no longer necessary with the updated Proguard rules.

The GitHub Actions workflow has been updated to use JDK 21.

The sample app's version code and name have been incremented, and packaging options have been added to exclude specific JNI libraries.
Adds error messages and logic to file pickers to handle cases where no file is selected.

- Includes new string resources for "no data" errors in document and media pickers.
- Modifies `DocumentFilePickerActivity` and `MediaFilePickerActivity` to check for `clipData` when `data` is null and set a canceled result with the appropriate error message if no file is found.
This commit updates the following:
- Android Gradle Plugin to version 8.12.0
- Maven Publish plugin to version 0.34.0
- Compose BOM to version 2025.07.00
- Spotless plugin to version 7.2.1
- Gradle wrapper to version 8.14.3
Replaces manual Android version checks and deprecated `getParcelableExtra` calls with `BundleCompat.getParcelable`. This simplifies the code and ensures type safety when retrieving Parcelable objects from Intent extras across different Android versions.

- Updated in `PopUpActivity`, `MediaFilePickerActivity`, `DocumentFilePickerActivity`, `ImageCaptureActivity`, and `VideoCaptureActivity`.
- Removed an unused `setActivityResult` function from `FilePickerResultHandler.kt`.
@ChochaNaresh ChochaNaresh merged commit d2b64cf into Dev Aug 5, 2025
6 checks passed
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