afreakyelf / Pdf-Viewer

A Lightweight PDF Viewer Android library which only occupies around 80kb while most of the Pdf viewer occupies up to 16MB space.
https://afreakyelf.github.io/Pdf-Viewer/
MIT License
822 stars 173 forks source link

Download feature doesn't work on Android 11 and up #70

Closed AlexDiak closed 1 year ago

AlexDiak commented 1 year ago

I've tested in a real device with AOSP Android 11 and in emulator with Android 13 and the download button does nothing. I have also tested it in Android 9 and it seems to work fine.

github-actions[bot] commented 1 year ago

Thank you for creating your first issue. We appreciate your help in making this project better. We will look into it, and get back to you soon.

fadhyyusuf commented 1 year ago

Im facing the same issue.

lambui09 commented 1 year ago

same issue on android 13

ApunichGULSHER commented 1 year ago

Same problem

ApunichGULSHER commented 1 year ago

@AlexDiak @fadhyyusuf @lambui09 Remove storage permission for target API 33, Android 13 and lower Android version devices don't requires READ or WRITE external storage permissions to save PDF in download folder. I had downloaded this repo and imported as module in my android project, than removed all storage related permissions. Downloading PDF working like charm in Android 13 as well as lower versions now.

PeterWagih90 commented 1 year ago

@ApunichGULSHER Can you please contact me through mail, regarding this issue i need the build stripped from premission ASAP

afreakyelf commented 1 year ago

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