weta-vn / advance_image_picker

Flutter plugin for selecting multiple images from the Android and iOS image library, taking new pictures with the camera, and edit them before using such as rotating, cropping, adding sticker/filters.
BSD 3-Clause "New" or "Revised" License
110 stars 49 forks source link

Ios Gallery Album Pick RangeError #50

Open seceba opened 2 years ago

seceba commented 2 years ago

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 commented 1 year ago

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.

faj-uks commented 1 month ago

Hi Any update on this issue? When can we expect it to be resolved?