-
-
Notifications
You must be signed in to change notification settings - Fork 20.8k
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
More Android Scope storage issues #62546
Comments
I seem able to reproduce with 3.5 RC 5 too. I converted the MRP to GDScript as it's easier to work with for debugging, especially when doing custom engine builds to test potential fixes: Also added a call to |
Usually the user is presented with permission requests when the app is downloaded from store. Not when installing from Godot. I have had to manually approve of each permission in the App Info page. It will be wonderful when this is all fixed |
I have game with mod support. By default, game should read mods from /Documents/'app ID', but I can't read nothing. Permissions granted.? As alternate way I can read files from /Android/media/'ID', on 3.5 RC 4 it works fine, but not on RC 5, because engine locks access to that directory. |
@ondesic @akien-mga I have a fix for the issue in #62719. It was a logic issue and not a permission issue, so the call to |
@Summersay415 Your issue is different from the one encountered by @ondesic.
If your app created that directory, you should have read/write access to it. To get around that restriction you can use the |
Thanks for information, but how about to allow access to /Android/media/'ID'/? This is app-specific directory. |
Fixed by #62719. |
Godot version
3.5 rc5
System information
Windows 11
Issue description
This post is from #51815
It was suggested to start a new thread.
I cannot copy res:// files to the android phone. Still cannot read/write files to Android.
Here are my findings with the included test mono project.
This app is coded to take a file stored in "res://Test/Test.txt" and create a folder named "Test" in the Document folder, then copy the Test.txt file into that folder. When you press the big button, it will read the Test.txt file and assign the string in the file to the button's text.
Steps to reproduce
This runs as expected in Windows. However, on the android device:
Minimal reproduction project
Here is the project.
TestStorage.zip
side note: I even tried to copy the Test.txt file manually to the Test folder. Pressing the button in the app should read the content but it still won't work.
The text was updated successfully, but these errors were encountered: