I using it like this:
async def share_eq(e):
base64url = document.getElementById('img').src
blob = await (await fetch(base64url)).blob()
file = File.new([blob], 'eq.png', {type: blob.type})
navigator.share({
"title": 'Generated EQ',
"text": 'Can you solve this??',
"files": [file],
})
And it just prints out:
Future exception was never retrieved\nfuture: <Future finished exception=JsException(TypeError: Failed to execute 'share' on 'Navigator': No known share data fields supplied. If using only new fields (other than title, text and url), you must feature-detect them first.)>
And even tho I try also using url instead of files it returns the same error