I'm using xamarin.forms (rn I only care about android) and I want to share a file from within my app to another app.
await Share.RequestAsync(new ShareFileRequest
{
Title = "Select a target",
File = new ShareFile(FilePath)
});
This works very well but depending on which file extension the file has it shows different options. In my specific case I wanna share a .docx to the LibreOffice Viewer (availabel on F-Droid). Unfortunatly it is not one of the options.
Is there a way to influence these options? It is preferred for the user to make the choose. Changing android settings manually would be accepted as a workaround.
I've searched for an android specific solution but couldn't find any. Any help is appreciated.
Thanks in advance