Closed Ko-Dean closed 8 months ago
Do you have any more information regarding the asset that is causing the error ? (maybe related to https://github.com/fluttercandies/flutter_photo_manager/issues/780)
I also got this error while testing today, the image was took from my iPhone (HEIF) and i believe was download from iCloud (i took it recently 3 days ago) When tapping on it again it is selected normally and no error is thrown @AlexV525 do you have any idea ?
@LeGoffMael The test was conducted on the iOS simulator, and the iPhone 14 version was conducted on iOS 16.4.
@Ko-Dean Can the issue be able to reproduce using the example of photo_manager
? If so please submit issues to the corresponding repo and provide steps to reproduce.
The problem occurs if icloud images are enabled. If you disable icloud photo in settings, this problem will not occur. However, there is no guarantee that all users will not use iCloud Photo, so I think the problem should be fixed.
The problem occurs if icloud images are enabled. If you disable icloud photo in settings, this problem will not occur. However, there is no guarantee that all users will not use iCloud Photo, so I think the problem should be fixed.
We need more detailed steps to indicate what to fix.
An error appears to occur when images that were not downloaded from iCloud appear in the image list on the device.
An error appears to occur when images that were not downloaded from iCloud appear in the image list on the device.
Sounds like there is a problem with isLocallyAvailable
. We'll look into it. cc @CaiJingLong
I tried positioning after running, maybe it's a concurrency issue. There are two requests for the same asset at the same time, and the second request determines that the file exists and returns it. But the file should be an empty file at this point.
There should be two AssetEntityImageProviders pointing to the same Asset in one page.
An error appears to occur when images that were not downloaded from iCloud appear in the image list on the device.
Sounds like there is a problem with
isLocallyAvailable
. We'll look into it. cc @CaiJingLong
The existence of local files cannot be the only condition.
Fix should be available in the new 2.2.0 version
In version 2.0.0, the following error occurs: