-
Notifications
You must be signed in to change notification settings - Fork 24
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
"No Permissions to write to /storage/emulated/0/Download/copy/2go.zip" even though I gave permission #22
Comments
at startup the app check if it has permissions to write to the predefined output folder and if not it opens the folder chooser. At least this is working on my android-7.1 devices. I have just added a check that the proposed folder exists hoping that this will fix the issue |
@nicolas-raoul does the problem still existist in the current version or can i close this ticket |
Android 12, Pixel 4a: yes, I observe something like this behavior. I granted SAF access to /Documents and this works for a 'session'. But once the app has been inactive for some length of time it seemingly forgets the system granted access to /Documents and so the next time I share something to the app it gives a no permission error and pulls up the directory picker. Conveniently the directory picker starts up at the last chosen folder and I can grant access again to get it working. But as before the app thinks it hasn't got access after a period of inactivity. |
@locuturus thanks for reporting. if i understood https://developer.android.google.cn/topic/performance/app-hibernation correctly android-11 and later has a feature "Auto-reset permissions from unused apps" that may be the cause of this issue. |
That is a feature, but it takes days or weeks to initiate, not like an hour or two. And in app info I can not see the previously granted SAF access which implies to me that the app is discarding the SAF granted access somehow. Here is Material Files, from GitHub, showing SAF granted access to different content providers: |
the app is using SAF (if you have android-5.0 and above) and it works without issues on my android-10 . I have to further anayse and compare to material-files ..... |
I wonder if this stack overflow might be relevant |
@locuturus thanks for the stack-overflow. I have added the missing flags from https://stackoverflow.com/questions/32563428/storage-access-framework-persist-permissions-not-working In the zip is the pre-release of the apk with the fix. can you test if this fixes the problem? I only have an android-10 device and the android-emulator does not work on my computer. |
DISPLAY_NAME column is null error in is preventing me from installing. |
@locuturus : sorry something with the debug build went wrong. this one should be working (at least i can install it on my android-10. |
This issue still exists with the latest version on Fairphone 3, /e/OS (based on LineageOS for microG, Android 10) |
Other settings are all default settings.
Maybe I have to create the
copy
folder by myself?If so, the error message should be clearer.
Thanks! :-)
The text was updated successfully, but these errors were encountered: