Pdf-Viewer icon indicating copy to clipboard operation
Pdf-Viewer copied to clipboard

Remove <uses-permission> and requestLegacyExternalStorage config from library manifest

Open BenTilbrook opened this issue 3 years ago • 1 comments

The library AndroidManifest includes various permissions that the consuming app potentially does not need. These include:

  • requestLegacyExternalStorage
  • READ_PHONE_STATE
  • ACCESS_MEDIA_LOCATION

and others.

The library should not declare any of these permissions, nor requestLegacyExternalStorage, and instead make it the responsibility of the consuming app to declare what it needs.

BenTilbrook avatar Apr 15 '21 04:04 BenTilbrook

I totally agree please fix this as scoped storage for android 11 is introduced and requestLegacyExternalStorage is no longer avilible.

kklolo avatar Sep 08 '21 16:09 kklolo

Hi, Thank you for using this library. Above issue has been fixed in latest version. https://github.com/afreakyelf/Pdf-Viewer/releases/tag/v2.0.1

afreakyelf avatar Nov 29 '23 03:11 afreakyelf