photopicker
| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
|---|---|---|---|---|
| October 21, 2026 | - | - | - | 1.0.0-alpha02 |
Declaring dependencies
To add a dependency on PhotoPicker, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle file for
your app or module:
Groovy
dependencies { // For apps using Compose implementation "androidx.photopicker:photopicker-compose:1.0.0-alpha03" // For apps using Android views implementation "androidx.photopicker:photopicker:1.0.0-alpha03" }
Kotlin
dependencies { // For apps using Compose implementation("androidx.photopicker:photopicker-compose:1.0.0-alpha03") // For apps using Android views implementation("androidx.photopicker:photopicker:1.0.0-alpha03") }
For more information about dependencies, see Add build dependencies.
Feedback
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
There are no release notes for this artifact.
Version 1.0
Version 1.0.0-alpha03
October 21, 2026
androidx.photopicker:photopicker-*:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
API Changes
- Added EXTRA_SYSTEM_FALLBACK_PICK_IMAGES_REQUEST_LOCATION_METADATA_ACCESS to
PickVisualMediato allow requesting location metadata access in system fallback pickers. (Ie5917) - Renamed artifact
androidx.photopicker:photopickertoandroidx.photopicker:photopicker-embedded(packageandroidx.photopicker.embedded),androidx.photopicker:photopicker-composetoandroidx.photopicker:photopicker-embedded-compose(packageandroidx.photopicker.embedded.compose), andandroidx.photopicker:photopicker-testingtoandroidx.photopicker:photopicker-embedded-testing(packageandroidx.photopicker.embedded.testing). (I48b9b, b/537430760) - Refactored
EmbeddedPhotoPickerStateto exposesurfacePackageandnotifyVisibilityChangedand added andonErrorcallback. (Ifa4b0) - Added
setLocationMetadataAccessRequestedtoPickVisualMediaRequestto allow requesting location metadata access in Photo Picker requests. (Idde80) - Migrated
PickVisualMediaandPickMultipleVisualMediacontracts, andPickVisualMediaRequestto the newphotopicker-activityartifact. Copied tests. (I2a201, b/530216959) - Removed the
inputsparameter fromrememberEmbeddedPhotoPickerState. To reset the state when inputs change, wrap the call in akeyblock instead. (I8a0c5) - Lowered the
minSdkof the androidx.photopicker:photopicker and androidx.photopicker:photopicker-compose libraries to 23. (I94e42, b/524083018) Revising Embedded PhotoPicker Compose APIs(Ie32c9)- New libraries for Photopicker (I0f52a)
- New testing library for photopicker (I7c1ec)
Bug Fixes
androidx.lifecycle:lifecycle-runtimedependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. (I99bfd, b/556807521)compileSdkfor Compose libraries updated to 37.1. This will require transitively updatingcompileSdkfor all apps and libraries using Compose. (I05b0f)- Updated Compose compileSdk to API 37. This means that a minimum AGP version of 9.2.0 is required when using Compose. (Id45cd)
Version 1.0.0-alpha02
July 01, 2026
androidx.photopicker:photopicker:1.0.0-alpha02, androidx.photopicker:photopicker-compose:1.0.0-alpha02, and androidx.photopicker:photopicker-testing:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.
API Changes
- Lowered the
minSdkof the androidx.photopicker:photopicker and androidx.photopicker:photopicker-compose libraries to 23, while the APIs still require to be called starting from 34. (I94e42, b/524083018) - Updating Embedded PhotoPicker Compose APIs (removing AbstractEmbeddedPhotoPickerState, renaming and change visibility of some fields from EmbeddedPhotoPickerState) (Ie32c9, b/449786033)
Bug Fixes
- Updated Compose compileSdk to API 37. This means that a minimum AGP version of 9.2.0 is required when using Compose. (Ic748a, b/413674743)
Version 1.0.0-alpha01
June 4, 2025
androidx.photopicker:photopicker:1.0.0-alpha01, androidx.photopicker:photopicker-compose:1.0.0-alpha01, and androidx.photopicker:photopicker-testing:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.
New Features
- The initial alpha release of androidx implementations of the Embedded PhotoPicker that enable both View based and Compose based applications to easily integrate with the Embedded Photopicker service.
API Changes
- Added
EmbeddedPhotopickercomposable for as an entrypoint for compose based applications.rememberEmbeddedPhotoPickerStatecan be used (recommended) or applications can implement their own state management with theEmbeddedPhotoPickerStateinterface.
- Added
EmbeddedPhotopickerViewas an entrypoint for view based applications.EmbeddedPhotoPickerStateChangeListenercan be used to receive related callbacks to state inside the PhotoPicker.
- Added
TestEmbeddedPhotoPickerProviderto allow apps to test flows that rely on the Embedded Photopicker.