attachmentUris

Allows to attach files to crash reports.

ACRA contains a file provider under the following Uri: content://[applicationId].acra/[Directory]/[Path] where [applicationId] is your application package name, [Directory] is one of the enum constants in [Directory] in lower case and [Path] is the relative path to the file in that directory e.g. content://org.acra.test.acra/files/thisIsATest.txt

Side effects:
  • POST mode: requests will be sent with content-type multipart/form-data

  • PUT mode: There will be additional requests with the attachments. Naming scheme: -

  • EMAIL mode: Some email clients do not support attachments, so some emails may lack these attachments. Note that attachments might be readable to email clients when they are sent.

Since

4.9.3