[SailfishDevel] Sailfish.TransferEngine.SharePage downloads content
Oleg Linkin
maledictusdemagog at gmail.com
Wed Dec 12 11:10:19 UTC 2018
Hi, all.
I try to use Sailfish.TransferEngine.SharePage in my code like in gallery
to share link to comics with accounts.
IconButton {
id: shareButton
icon.source: "image://Theme/icon-m-share"
anchors.verticalCenter: parent.verticalCenter
onClicked: {
pageStack.push("Sailfish.TransferEngine.SharePage",
{
"source": comicProxy.stripImageUrl.toString(),
"mimeType": "text/x-uri",
"content": { "type": "text/x-uri",
"status": comicProxy.stripImageUrl.toString() },
"serviceFilter": ["sharing", "e-mail"]
})
}
}
this is the code.
I have clipboard transfer engine plugin(only copies text to clupboard)
but when I try to use it in such case - sailfish downloads content by
link.
When I try to share link from browser with my plugin - all works fine
and link copied to clipboard.
How I can prevent downloading content?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20181212/259eee38/attachment.html>
More information about the Devel
mailing list