-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Remove WRITE_EXTERNAL_STORAGE default permission #1081
Comments
It's forced here, it's needed for kivy/kivy#4777 and fixed in the linked PR. It's an api break though. |
Oh, great, I hadn't seen that PR. I was going to propose also checking the old location first, but otherwise defaulting to the new (better) one. I think that would be worthwhile to fix this annoying problem on Android, even if it's slightly more complex. We could also use the app's official external storage directory, found by querying the Android API. That would be more consistent with the spirit of the current behaviour. |
I was thinking about it, but then it'd mean including at least If we can't do any of these cases, we end up with an environment variable. As that thing is set in(/for) |
|
That kind of skipped my mind completely 😄 |
I am having a problem and I don't know whether it is related to this issue, but I just built an apk for my project, which gives a parsing error (can't install)...but it works fine if i manually copy the apk file to the phone with a usb cable. Is there something I can do to force my android phone to properly download the apk? |
@fyookball There is no reason to think that this issue is related to your problem. Please post instead on the kivy-users mailing list. |
Is there a switch to remove this permission for non-kivy projects that use python-for-android? |
No, there isn't. Philosophically I'd prefer to just fix Kivy and then remove the default permission entirely, but it would be fair enough to add a toggle for it as it stands. |
Okay, once the SDL2 version bump is in, this should be relatively simple to do. I'll look into it, I need to add another option I want to |
I think with Android 5+ versions this is obsolete anyway, right? Which is all we support as minimum, since there runtime permissions requests are needed anyway. I think therefore it makes sense to close this ticket, anyone feel free to poke me if this is wrong and I'll gladly reopen! |
This may need a small change in Kivy, but is otherwise non-essential.
The text was updated successfully, but these errors were encountered: