isp-group-locationsimulator / Location-Simulator

Apache License 2.0
2 stars 2 forks source link

Avoid directly writing exports to storage #2

Closed jpwiedekopf closed 10 months ago

jpwiedekopf commented 1 year ago

Using the FileProvider API for sharing a binary datum (the JSON exports) allows for a smoother experience to the user, since they can directly share the export via an IM app, email, upload to cloud services, etc.

Docs: https://developer.android.com/training/secure-file-sharing/setup-sharing and https://developer.android.com/training/secure-file-sharing/share-file