Skip to content

[How to use] Skip iCloud access #1306

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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