-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Assets list is not updated when set to limited access on android though settings, after pressing continue with limited access and selecting some files. #1215
[BUG] Assets list is not updated when set to limited access on android though settings, after pressing continue with limited access and selecting some files. #1215
Comments
How did you get a limited permission on Android 13? |
Oh, my bad, it was Android 14 |
Please use the unmodifed example to reproduce the issue and provide a screen recording. |
limited_access_bug.webm |
What device is it? |
it is pixel 7 pro emulator |
but it has same behaviour with Android 14 on other phones |
How did you get an empty list from the start with the Pixel emulator? This is what I've got: 2024-10-29.13.47.55.mp4 |
Go to the settings change there to deny - and change to limited again. |
Can you take a complete screen recording starting from installing the example? I can't follow your steps on my emulator. |
vid.mp4 |
Woah, something happened at 0:50, it just jumps right in without animations? Did you make any edits? 🤔 |
No, I load the app and press on common picker button. |
I can see the same behavior by following your screen recording. Thanks! The debug log tells that the limited permission is granted without asking. I/PhotoManager( 5377): Returned permissions: android.permission.READ_MEDIA_VISUAL_USER_SELECTED
I/PhotoManager( 5377): Returned permissions: android.permission.READ_MEDIA_VIDEO
I/PhotoManager( 5377): Returned permissions: android.permission.READ_MEDIA_IMAGES
D/PhotoManager( 5377): dealResult:
D/PhotoManager( 5377): permissions: [Ljava.lang.String;@8adcaca
D/PhotoManager( 5377): grantResults: [I@805143b
D/PhotoManager( 5377): deniedPermissionsList: [android.permission.READ_MEDIA_VIDEO, android.permission.READ_MEDIA_IMAGES]
D/PhotoManager( 5377): grantedPermissionsList: [android.permission.READ_MEDIA_VISUAL_USER_SELECTED]
D/PhotoManager( 5377): [PermissionDelegate34] havePermissions: [android.permission.READ_MEDIA_VIDEO], result: false
D/PhotoManager( 5377): [PermissionDelegate34] havePermissions: [android.permission.READ_MEDIA_IMAGES], result: false From the first look this might be a bug with Android 14 permissions. |
Debugged around the permission delegate, in this case, |
Assets list is not updated when set to limited access on android though settings, after pressing continue with limited access and selecting some files.
How to reproduce
1.Set permission to limited access in phone settings on android.
2. Open gallery picker.
3. Proceed with limited access on the info screen.
4. On screen with empty list press top button.
5. Select some photos for limited access.
6. Previous page with empty list is not updated with selected photos.
Expected behavior
When we selected some assets for limited access those are displayed in the list.
Version information
The text was updated successfully, but these errors were encountered: