android.os.FileUriExposedException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • FileUriExposedException on Android 7
    via GitHub by gotev
    ,
  • GitHub comment 194#237539329
    via GitHub by AndyScherzinger
    ,
  • FileUriExposedException
    via GitHub by ldemay
    ,
  • FileUriExposedException
    via GitHub by AEFeinstein
    ,
  • Android-N Update-app
    via by Jaume Tugores,
    • android.os.FileUriExposedException: file:///storage/emulated/0/Download/2e5b188e-41fc-45ed-9a50-d5b67bcfa515.apk exposed beyond app through Intent.getData() at android.os.StrictMode.onFileUriExposed(StrictMode.java:1799) at android.net.Uri.checkFileUriExposed(Uri.java:2346) at android.content.Intent.prepareToLeaveProcess(Intent.java:8933) at android.content.Intent.prepareToLeaveProcess(Intent.java:8894) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1517) at android.app.Activity.startActivityForResult(Activity.java:4224) at android.app.Activity.startActivityForResult(Activity.java:4183) at android.app.Activity.startActivity(Activity.java:4507) at android.app.Activity.startActivity(Activity.java:4475) at net.hockeyapp.android.tasks.DownloadFileTask.onPostExecute(DownloadFileTask.java:197) at net.hockeyapp.android.tasks.DownloadFileTask.onPostExecute(DownloadFileTask.java:34) at android.os.AsyncTask.finish(AsyncTask.java:660)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,