-
Notifications
You must be signed in to change notification settings - Fork 471
Do no require write storage permission to downloading files on devices with Android 11 and above #9830
Comments
May I work on this issue? |
Please, do so :) Mostly we have to skip the checks for permissions when we are on Android 11 and above. |
I have made a PR for this issue: #10686 |
I'll have to double check, but I think It won't be a problem as for now we are only writing to the public downloads directory, but maybe when we allow to change the download directory could cause issues mozilla-mobile/fenix#5764. |
The checklist is just for reference of what all PRs should have, when you complete an you just have to check it.
I would focus on creating tests for the module that you changed ( For running test for You can find more information here. This documentation could help you to have a better idea of how to work with Android Components locally. On CI, they should run on every PR you can see each task on the "Checks" Tab on GitHub. |
Ok. If there is a need to choose the download directory, the Storage Access Framework needs to be used to pick the directory |
👍🏽 |
I keep on receiving this error while building:
Here's my Android Studio configuration: It seems that the version of my installation is equal to the unknown version, but somehow building seems to fail. |
@czlucius team is currently working on Jetpack Compose, maybe you should try with Android Studio canary version 🤷 |
Noted. Thanks. |
Sorry about that, as @hakkikaancaliskan mentioned we trying to integrate Jetpack Compose and it requires
|
Hi |
Thanks @czlucius, no the tests were the last requirements. I'll take a look :) |
…ownloading files on devices with Android 10 and above
…ownloading files on devices with Android 10 and above
…ownloading files on devices with Android 10 and above
…ownloading files on devices with Android 10 and above
…ownloading files on devices with Android 10 and above
…ownloading files on devices with Android 10 and above
In devices with Android 11 and above we are using the scoped storage api and we are only writing to the public download directory that doesn't require any additional permission. We could waive the permission requirements for these devices as it's not needed.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: