Skip to content

Android: path is incomplete after saveFile #38

@gaetandezeiraud

Description

@gaetandezeiraud

The result of saveFile doesn't seems correct.
I get, for example /document/primary:MaCompta.mcae. But when I get the path with pickFile, it's work and the path is content://com.android.externalstorage.documents/document/primary%3AMaCompta.mcae.

Seems related to #15

But I am not sure about what I need to do. I already use the copyFileToCacheDir: false for pickFile but the parameter doesn't exist for save. I only need the path in order to open it (it is a sqlite db) after with sqflite openDatabase who need the path to the file.

In simple, how to get the Android URI with saveFile?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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