As I wrote earlier, my code is based on the “official” transfer-engine example, so it doesn’t differ from other projects based on it, including @attah’s plugin. I only use different MIME types to only allow URLs, and a few minor additions like using serviceIcon to show my applications icon to distinguish those transfers somehow due to lack of any other info shown.
It looks that with content like URL or text string the transfer-engine simply doesn’t set the values needed to show any further details on the Transfers screen, except for time stamp and transfer type icon (which it sets as upload, another thing that I can’t figure out how to change). If I use the same code to share e.g. share an image, it shows further details as it should. But not with a text or URL. Trying to set those values manually doesn’t seem to have any effect, either. I suppose that even if set so then the transfer engine clears/resets them anyway.
P.S. I’ve just tested “Open link sharing plugin” from openrepos and it has identical problems - all transfers listed as Pending and then Failed (which I fixed in my code by setStatus(MediaTransferInterface::TransferFinished)
), and no further details shown.
So it looks like a general transfer-engine defect with this kind of content. Will keep trying to find some workaround, but I’m slowly losing hope.