android · android/FileUriExposedException
FileUriExposedException
FileUriExposedException
Thrown (API 24+) when an app attempts to share a file:// URI with another app via an Intent. Replace file:// URIs with content:// URIs generated by FileProvider and declare the FileProvider in AndroidManifest.xml with a <provider> tag.