Skip to content

Commit

Permalink
fix(sqlite): add optional key parameter to SQLiteDatabaseConfig to su…
Browse files Browse the repository at this point in the history
…pport sqlcipher-adapter (#1917)
  • Loading branch information
rapropos authored and ihadeed committed Aug 23, 2017
1 parent 0dd507f commit 0c097ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/@ionic-native/plugins/sqlite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 0c097ba

Please sign in to comment.