Skip to content

Set file Uri in SimpleDraweeView when used Context.MODE_PRIVATE #1981

@gkgio

Description

@gkgio

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions