-
Notifications
You must be signed in to change notification settings - Fork 10
SaveFile on Android ignores customized file name #12
Copy link
Copy link
Open
Description
Awesome package! I'm currently exploring its capabilities for my project and stumbled upon a problem. I'm calling
FileToSave file = new FileToSave(srcPath, newFilename); NativeFileSO.shared.SaveFile(file);
to share a file under a new name on Android. This will call finally
public void SaveFile(FileToSave file) { JavaNativeSO.CallStatic("SaveFile", Activity, file.SrcPath, file.MimeType); }
in the NativeFileSOAndroid.cs, where it seems that the set newFilename is not passed to the share intent in the native code. Is this a bug or is it not possible to change the filename to share as a platform limitation?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels