status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.91k stars 984 forks source link

[Android] Access is granted to all photos in gallery when selecting limited access in the permission pop-up #20250

Open qoqobolo opened 6 months ago

qoqobolo commented 6 months ago

Bug Report

Problem

When granting access to your photo gallery you can select limited access and select just a few photos. However, after this, the entire gallery still opens, as if full access had been granted. The issue was found and can be reproduced on Pixel 7a (Android 14) and Samsung A34 (Android 14) at the moment; on other androids (on which this was tested), there is no option to provide limited access.

Expected behavior

Access is granted only to selected photos

Actual behavior

Access is granted to all photos

https://github.com/status-im/status-mobile/assets/67952253/c0a63a1f-92b9-45fd-8f6c-eb61900bda0e

Reproduction

  1. Install Status on Pixel
  2. Go to onboarding
  3. When selecting a profile picture, press Allow limited access
  4. Select several pictures
  5. Press Allow

Additional Information

J-Son89 commented 4 months ago

Can we move to 2.31? 🤔

mohsen-ghafouri commented 3 months ago

It looks an open issue for library that we are using, unassigned till they send a patch or we find another solution. https://github.com/ivpusic/react-native-image-crop-picker/issues/2058

churik commented 3 weeks ago

@flexsurfer is it still blocked?

flexsurfer commented 3 weeks ago

seems like yes