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


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?


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