New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple permissions not working #6
Comments
Hello, if you request and get the permission for |
I need WRITE_EXTERNAL_STORAGE permission to download a remote file and READ_EXTERNAL_STORAGE to give the user an option to open the downloaded file. When WRITE_EXTERNAL_STORAGE is allowed by the user, the download process start and the file is downloaded successful. But when I try to open the file, the app crashes. Here is the code for opening file from storage (works perfect if the READ_EXTERNAL_STORAGE is allowed): https://pastebin.com/jZZvqjJw |
I am unable to test your code because it lacks definitions of some methods. However. I did a simple write and read operation on a file and it is working fine. Please test the following code in your device: Manifest:
MainActivity:
Note that you can simply just request |
Hi, this library don't work for me.
Can't ask for multiple permissions at the same time.
It asks only for the first one in the array.
I'm trying to allow both the READ and WRITE storage permissions at once, but without any success.
The text was updated successfully, but these errors were encountered: