How to copy file from WWW directory to somewhere in IOS?


#1

I have a database file. ( called test.db in www directory). I installed cordova file plugin.
And $corodvaFile.checkfile - always returns {"$$state":{“status”:0}}.
I checked $cordovaFile.checkFile(cordova.file.applicationDirectory,“index.html”); - same.
I am testing on emulator with cordova.file.externalDataDirectory, cordova.file.applicationDirectory. No results,
Is it really to copy file on IOS?


#2

OR how to open .DB file with window.sqlitePlugin.openDatabase from WWW?