On this topic@Taifun, @TIMAI2 and I had a (internal) discussion about the File component and the EFile extension regarding storage permissions. Here is a small test app that shows the problems.
I think everyone is interested in this, so I'm opening a new topic here for it.
Install the test app and do not grant storage permission when testing on Android 11+.
(Test order: Button 1, 2, 3).
On Android 11+ you will be asked to grant storage permission after clicking Button2 and Button3. If you deny permission on Button2 you get the same result as if you had granted permission. @vknow360
When clicking on Button1 everything should work (as it should, i.e. without permissions) on Android 11+.
When clicking on Button3, the well-known "Error 908: ..." (bug) appears if permission was denied.
Or do you mean that on Android 11+ no storage permissions are needed when writing/reading a non-media file to/from a Shared folder. This statement is of course true and that's exactly what this topic is about for me.
It basically works without (storage) permissions on Android 11+. But not with the File component!
I have pointed this out countless times before. (And this affects all components that can store something.)
Thank you for your sharing!!!
I test this apk(File_EFile_test.apk) and it is perfectly running on my device(Android 12, S20+).
However, when I test Mfile and other permission extensions on my own project. Unfortunately it always shows Error 908.
Can you please provide me the aia(File_EFile_test.apk) to help me find out the problem
This is my bolck~
Thank you so much!