Skip to content

Commit

Permalink
Corrected SQLcipher UTF8String format, the last version wasn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbeckel committed Nov 3, 2013
1 parent 794659b commit bd9c243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/SQLitePlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ -(void)open: (CDVInvokedUrlCommand*)command
}
else {
// Extra for SQLCipher:
// const char *key = [[options objectForKey:@"key"] UTF8String];
// const char *key = [@"your_key_here" UTF8String];
// if(key != NULL) sqlite3_key(db, key, strlen(key));

// Attempt to read the SQLite master table (test for SQLCipher version):
Expand Down

0 comments on commit bd9c243

Please sign in to comment.