I am trying to share file with Web Share API Level 2 with the following code:
var file = new File(["foo"], "foo.txt", {
type: "text/plain",
});
window.navigator.share({
text: "Share text",
title: "Share title",
files: [file]
})
Unfortunately, file not shared with iPhone, but successfully shared on Android.
Any solution for that?
Thanks in advance.
text
shared. File skipped... – Meilhac