storesafe / cordova-sqlite-evcore-extbuild-free

Cordova sqlite plugin with Android performance enhancements for PhoneGap Build, GPL v3 or commercial license options
Other
24 stars 13 forks source link

Can't open from cdvfile #47

Open thomasvanhorde opened 5 years ago

thomasvanhorde commented 5 years ago

Hello,

I download a db file from URL with FileTransfert in cdvfile://localhost/persistent/medias/db/test.db

But I don't know how to load this downloaded file What is the good parameters from name, iosDatabaseLocation ?

I try many value, all not work .. window.sqlitePlugin.openDatabase({iosDatabaseLocation: 'Documents',name:"cdvfile://localhost/persistent/medias/db/test.db"})

When try to select my datas, no datas found. I think is a created new DB and not load my file ..

Thanks for your help.

brodycj commented 4 years ago

Custom database location is not currently supported on iOS, macOS ("osx"), or Windows.

My apologies for such a long delay.