Set file Uri in SimpleDraweeView when used Context.MODE_PRIVATE
Open
enhancement
good first issue
- Dominant language
- Kotlin
- Stars
- 17.2k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Bug with add SimpleDraweeView object using setImageURI when Uri.fromFile and saved file use openFileOutput(fileName, Context.MODE_PRIVATE);
Context.MODE_PRIVATE makes the file inaccessible to other apps, but for fresco is problem to read and set file in SimpleDraweeView
SimpleDraweeView work only with Uri when FileOutputStream object - outputStream = new FileOutputStream(file);
### Additional Information
compile 'com.facebook.fresco:fresco:1.5.0'
compilesdkversion 25
Contributor guide
Assessment
This issue has not been assessed yet.