From 0c097ba2be50354dcf6a8d4e67373b1ac76286ed Mon Sep 17 00:00:00 2001 From: Robert Coie Date: Wed, 23 Aug 2017 16:21:57 -0700 Subject: [PATCH] fix(sqlite): add optional key parameter to SQLiteDatabaseConfig to support sqlcipher-adapter (#1917) --- src/@ionic-native/plugins/sqlite/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/@ionic-native/plugins/sqlite/index.ts b/src/@ionic-native/plugins/sqlite/index.ts index 29b4d2a8ca..82d814fd4b 100644 --- a/src/@ionic-native/plugins/sqlite/index.ts +++ b/src/@ionic-native/plugins/sqlite/index.ts @@ -20,6 +20,10 @@ export interface SQLiteDatabaseConfig { * support opening pre-filled databases with https://github.com/litehelpers/cordova-sqlite-ext */ createFromLocation?: number; + /** + * support encrypted databases with https://github.com/litehelpers/Cordova-sqlcipher-adapter + */ + key?: string; } /**