Replies: 1 comment
-
File picker is implemented but it is still asking media permission while downloading images/videos which is completely unnecessary. Edit- after the new version, it is still asking the permission even while composing the tweet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, Media permission is mandated whenever you want to upload or download something which is not at all necessary.
Kindly consider to use SAF and photo picker for this purpose, at least as an alternative for people who wouldn't want to grant that permission. It will just increase more trust in the app.
For Media downloads, you can place files in any folder you like without asking permission.
For Media uploads, SAF file picker or the latest Android 13 photo picker can be used without any need for granting the permission.
All of the above suggestions just involves very few lines of code without any major changes to the app. Users who want to grant media permission can still just do it, if it is denied we can just launch file or photo pickers.
References-
Utilizing storage access framework (SAF) -
https://developer.android.com/guide/topics/providers/document-provider
File picker-
https://developer.android.com/training/data-storage/shared/documents-files
Photo picker-
https://developer.android.com/about/versions/13/features/photopicker
Beta Was this translation helpful? Give feedback.
All reactions