Skip to content

FileProvider Error #13

@lightfire

Description

@lightfire

I implemented this workaround to fix issue when you target api 24 >= thanks to https://stackoverflow.com/users/4963858/hqzxzwb

https://stackoverflow.com/a/40674771

StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());

in Application.onCreate(). In this way the VM ignores the file URI exposure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions