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.
The result of
saveFiledoesn't seems correct.I get, for example
/document/primary:MaCompta.mcae. But when I get the path withpickFile, it's work and the path iscontent://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: falseforpickFilebut the parameter doesn't exist for save. I only need the path in order to open it (it is a sqlite db) after with sqfliteopenDatabasewho need the path to the file.In simple, how to get the Android URI with saveFile?
Thanks.