You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the shareFiles method in a very simple example:
final tempDir = await getTemporaryDirectory();
final Uint8List fileContent = <someBytes>
final targetPath =
"${tempDir.path}${"/$fileNameForFile${h4uFileType.fileExtension}"}";
File(targetPath).writeAsBytesSync(fileContent);
await Share.shareFiles([targetPath], text: text, subject: subject);
When I share a pdf file on my iPhone and then select the iOS option "Save to Files" two documents are saved to the selected directory. One file is the expected pdf file and the other an empty document called "Text":
Any help for this issue?
Thanks in advance!
Best regards
The text was updated successfully, but these errors were encountered:
Hi,
I use the shareFiles method in a very simple example:
When I share a pdf file on my iPhone and then select the iOS option "Save to Files" two documents are saved to the selected directory. One file is the expected pdf file and the other an empty document called "Text":
Any help for this issue?
Thanks in advance!
Best regards
The text was updated successfully, but these errors were encountered: