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

Ios Gallery Album Pick RangeError #50

Open
seceba opened this issue Oct 3, 2022 · 1 comment
Open

Ios Gallery Album Pick RangeError #50

seceba opened this issue Oct 3, 2022 · 1 comment

Comments

@seceba
Copy link

seceba commented Oct 3, 2022

I get a "RangeError (index): Invalid value: Valid value range is empty: 0" error when selecting different album.
This only happens on IOS, I didn't have a problem on android.

DIY:
Open the gallery to select a picture.
Click Recents to look at other albums from the top and I get rangeError error.

Any error does not appear in the console.

I think the problem is (await a.getAssetListRange(start: 0, end: 1))
.first
.thumbnailDataWithSize)

This is related to the code block because in android it doesn't come empty while in ios some of them come empty.

IOS VER: 14.4
FLUTTER VER: 3

@weta-vn
Copy link
Owner

weta-vn commented Jun 5, 2023

Thank you for sharing about problem.
We apologize for the delay.
We're so busy in some working projects for this month. After it finished, we'll investigate to resolve above problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants