Skip to content

[Android 16] CRITICAL: Image Access/Cropping Failure - Major Blocker for Library Migration and Production Release #2229

@Mr-Nld

Description

@Mr-Nld

🛑 Critical Blocker Statement

We are currently in the process of upgrading our core library dependencies to ensure long-term stability. However, this specific issue with Android 16 is a complete blocker. We cannot proceed with the library migration or the next production release as long as image handling is broken for the latest Android version. Our roadmap is currently stagnant due to this bug.

Description

On devices running the Android 16 (Developer Preview/Beta), the image picker fails to retrieve any valid image data or file path immediately after the cropping operation is confirmed. While the picker works as expected on Android 15 and below, the new security scoped-storage and Photo Picker permission model in Android 16 seem to conflict with the library's internal file handling.

Technical Details

  • Error Code: E_NO_IMAGE_DATA_FOUND or E_PERMISSION_DENIED
  • Device Environment: Google Pixel 7, 8, and 7a 8a series.
  • Library Version: [Insert Version, e.g., v0.42.1]
  • Target SDK: [e.g., 35/36]

Steps to Reproduce

  1. Initialize the picker with cropping: true and mediaType: 'photo'.
  2. Select an image from the system gallery.
  3. The crop UI opens; perform the crop and tap "Done" or "Confirm".
  4. The promise rejects or returns an empty object/null path.

Expected Behavior

The library should handle the temporary URI provided by the Android 16 Photo Picker, process the crop, and return a persistent local file path for the cropped image.

Actual Behavior

The app loses access to the file reference mid-process. This is a severe regression for apps targeting modern Android environments. We urgently need a compatibility patch to unblock our development cycle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions