-
-
Notifications
You must be signed in to change notification settings - Fork 18.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
Unable to access iOS Photo Library #34007
Comments
Neither |
I'm not sure if it's at all possible to access Photo library as filesystem, there's |
Ok, thanks for the clarification. Is there a way to read / write to external storage? I'd be fine with documents or wherever, doesn't have to be photos. |
Add And write/read your files to the Files should be available in macOS Finder/iTunes share (when connected via USB), and |
Thank you!! I've been searching for this for months, trying it now! |
It worked! I can see the files in Files app on iOS. I'm still having trouble using godot's file dialog though. I'm using the same path (user://exports) but godot file dialog doesn't see it. It goes to /private/var/mobile/Containers/Data/Application/... instead. Is there a way to get file dialog working? Or a way to use iOS native file dialog |
Ah! right. I had it on file system for Android / Desktop. Thank you!!! This made my day |
I'm able to see generated files in user:// with the iOS files app, but not from godot's file browser with access set to User data, and path set to user:// Is there something else I'm missing? Also, ideally I would like to put files somewhere external/permanent so user paintings don't get deleted when the app is uninstalled. Is there another info.plist option for external storage? |
use share module |
Can anyone still reproduce this bug in Godot 3.2.3 or any later release? |
Godot version:
3.2 Beta 2
OS/device including version:
Pop OS 19.1
Issue description:
Unable to access iOS Photo Library
Steps to reproduce:
in iOS export settings, add a PhotoLibrary usage description
OS.request_permissions()
OS.get_system_dir(6) for user photos directory (same code works with android and desktop)
I have also tried using
'/private/var/mobile/Media/DCIM'
When I open a file dialog with that path, I get this path instead:
'/private/var/mobile/Containers/Data/Application/.......'
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: