-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File attachment support #560
Conversation
@MFlisar I've updated the project with a builtin content provider for all standard directories. So you'd only need a custom ContentProvider for non-file content. |
I'll check that tomorrow. Only thing to take care of is, I would not use this provider. It's unsafe, other apps could access all files that the app which is using ACRA can access. I think, the default one in acra should only allow to access files in a cache folder, for safety reasons even only for files in a sub acra folder... |
The content provider is not exported. Only apps called by ACRA will receive temporary permissions for exactly the files in the intent. |
Oh, then it's fine. I've not seen that... |
Android takes care of the security management. That is the only reason to use content uris over file uris in this usecase. |
Resolve #558
Resolve #561