Skip to content

[How to use] Skip iCloud access #1306

@deepesh-inoid

Description

@deepesh-inoid

Platforms

iOS

Description

There is any other way to skip downloads from icloud because when my internet connection turn on that time its too lazy fetching the assets from paths because my images is not store locally.

And turn off the internet connection its work too fast.

I'm used
await asset.isLocallyAvailable(); /// to skip the icloud assets
but its taking more time consuming, there is any another way.

My code

bool isLocallyAva = await asset.isLocallyAvailable();

          if(isLocallyAva){
            if(!existingAssetList.contains(asset.id)) {
              assetsEntity.add(asset);
            }
          }

Try do it

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions