Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin Forms / Best way to share file on Android?

$
0
0

Hi! I have an app in production on the iOS side of the world. It includes the ability to share a local file (a simple zip archive I create of local app data). On the Android side of things, I see all over the forums that Android tightened security restrictions for file access sometime in late 2017 or early 2018, thus requiring the use of a FileProvider. I found some blogs on how to implement a FileProvider directly in Java and the manifest file, but I can't find anything for Xamarin Forms using an Android dependency... or I'm just entering the wrong search criteria! Any pointers would be greatly appreciated. I just want my Android users to be able to attach a zip or text file to an email or share it via another method using a Share Intent.

Thanks for any heads ups or links to already existing good documentation!


Viewing all articles
Browse latest Browse all 204402

Trending Articles