Skip to content

Permission for API 34 #20

Description

@KnBrBz

What permission do we need to save images on Android with this package for API 34?
Tried such options

  • READ_MEDIA_IMAGES
  • READ_MEDIA_VIDEO
  • READ_MEDIA_AUDIO
  • MANAGE_EXTERNAL_STORAGE

according to documentation https://pub.dev/packages/permission_handler FAQ, but no luck.

Code sample

Future<bool> save(String filename, Uint8List data) async {
  final ok = await ImageSave.saveImage(data, filename, albumName: 'someAlbum');
  return ok ?? false;
}

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions