Closed
Description
Tested versions
Issue is present since Native file diaog support is added for android in #98350
- Reproducible in 4.4.stable
- Reproducible in master
System information
null
Issue description
Android allows saving files in Downloads
and Documents
without any permission. It's works as expected if saving file directly with filepath but throws error ERR_FILE_NOT_FOUND
if using the native file dialog to open save file UI and then try to save using the following code:
func _on_file_dialog_file_selected(path: String) -> void:
print("file path: ", path)
var file = FileAccess.open(path, FileAccess.WRITE)
if file:
file.store_string("This is a test.")
else:
print("ERROR opening file: ", FileAccess.get_open_error())
Steps to reproduce
null
Minimal reproduction project (MRP)
Metadata
Metadata
Assignees
Type
Projects
Status
Done