Skip to content
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] PhotoManager.getAssetPathList return empty list in some Android devices #890

Closed
vantutrieu97 opened this issue Jan 9, 2023 · 3 comments

Comments

@vantutrieu97
Copy link

vantutrieu97 commented Jan 9, 2023

Describe the bug
I have 6 devices to test, 2 iOS and 4 Android. All of iOS devices is working very good but 2 of 4 Android device can not get asset path list (always return list empty, I sure I can see a lot of image I was taken when I open Gallery app of device)
Please help me

To Reproduce

1. Request permission
2. Call getAssetPathList method and return empty list

Smartphone (please complete the following information):

1.
 - Device: [Pixel 6]
 - OS: [Android 13]
2.
 - Device: [Samsung M22]
 - OS: [Android 13 (One UI 5.0)]

Flutter version

[✓] Flutter (Channel stable, 3.0.5, on macOS 13.1 22C65 darwin-arm, locale en-VN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2022.2.3)
[✓] VS Code (version 1.73.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

Screenshots
Screenshot 2023-01-09 at 14 13 28

@vantutrieu97 vantutrieu97 changed the title [BUG] PhotoManager.getAssetPathList return empty list in some android devices [BUG] PhotoManager.getAssetPathList return empty list in some Android devices Jan 9, 2023
@vantutrieu97
Copy link
Author

@AlexV525 can you help me? This error only occurs on some devices :(

@pham-k
Copy link

pham-k commented Jan 10, 2023

I also have the same problem.

@AlexV525
Copy link
Member

Duplicate of #852

@AlexV525 AlexV525 marked this as a duplicate of #852 Jan 10, 2023
@AlexV525 AlexV525 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants