:2.1.18:コルドバプラグインはhttps://github.com/litehelpers/Cordova-sqlite-storage.gitSQLiteの:データベースの場所やiosDatabaseLocation値は、OpenDatabaseメソッドの呼び出しで今必須です私は両方のAndroidとiOS</p> <p>プラグインのための私のイオンアプリケーション用のSQLiteのプラグインを使用しています
イオンバージョンを追加
コルドバのバージョン:6.4.0
ノードのバージョン:ここで
4.5.0を開くために私のコードですDデータベース
var db;
db = $cordovaSQLite.openDB({ name: "test.db", iosDatabaseLocation:'default'});
$cordovaSQLite.execute(db, "CREATE TABLE IF NOT EXISTS OfflineData (id integer primary key, imageUrl text, videoUrl text, head text, title text, descr text)");
しかし
ionic.bundle.min.js:150 Error: Database location or iosDatabaseLocation value is now mandatory in openDatabase call
at newSQLError (plugins/cordova-sqlite-storage/www/SQLitePlugin.js:26)
at Object.<anonymous> (plugins/cordova-sqlite-storage/www/SQLitePlugin.js:565)
at Object.openDatabase (plugins/cordova-sqlite-storage/www/SQLitePlugin.js:59)
at Object.openDB (ng-cordova.js:5176)
ように私のAndroidデバイスでこれを実行すると、いずれかが、このために私を助けることができますが、私は問題を取得していますを作成します。