i am using CrossShareFile.Current.ShareRemoteFile to share file. Its working fine in IOS but not in android. When i click on share button its giving me this error Plugin.ShareFile: ShareLocalFile Exception: Android.OS.FileUriExposedException: file:///storage/emulated/0/test.pdf exposed beyond app through ClipData.Item.getUri()
i have tried many things, but couldnt succeed on this
async void Handle_Clicked(object sender, System.EventArgs e)
{
await CrossShareFile.Current.ShareRemoteFile("http://onlinekih.somee.com/Documents/8.pdf","test.pdf");
}