From b52371b17437525075366927992b8cdacd6c828e Mon Sep 17 00:00:00 2001 From: Kurt De Vos Date: Wed, 14 Jun 2017 07:40:31 +0200 Subject: [PATCH] feat(sqlite): support pre-filled databases (#1687) Support opening pre-filled databases with https://github.com/litehelpers/cordova-sqlite-ext. --- 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 fbd933dfb..69737fa14 100644 --- a/src/@ionic-native/plugins/sqlite/index.ts +++ b/src/@ionic-native/plugins/sqlite/index.ts @@ -16,6 +16,10 @@ export interface SQLiteDatabaseConfig { * iOS Database Location. Example: 'Library' */ iosDatabaseLocation?: string; + /** + * support opening pre-filled databases with https://github.com/litehelpers/cordova-sqlite-ext + */ + createFromLocation?: number; } /**