Skip to content

Is READ_EXTERNAL_STORAGE really needed? #74

Description

@rsyring

I'm not an Android developer so this may be an ignorant post, my apologies if that is the case.

I recently installed the app on a Pixel 6 and was surprised that when requesting READ_EXTERNAL_STORAGE Android said I was granting access to photos and media. That didn't seem like something this app should need.

I did some research and:

  • Looks like Android 11 changed behavior with respect to this permission
  • The permission only grants access to the MediaStore API?
  • I don't see any reference to MediaStore in this source code.
  • I do see a reference to getExternalFilesDir() but in the link above, it looks like no permissions are required to access that API: "Not needed for external storage when your app is used on devices that run Android 4.4 (API level 19) or higher."

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