Skip to content

Commit

Permalink
remove backgroundExecuteSql method not needed
Browse files Browse the repository at this point in the history
(iOS/macOS)

ref: #769
  • Loading branch information
Christopher J. Brody committed Jan 29, 2019
1 parent d8fa3eb commit d7b9605
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

###### cordova-sqlite-storage-ext-core-common 1.0.1-dev

- remove backgroundExecuteSql method not needed (iOS/macOS)
- Completely remove iOS/macOS MRC (Manual Reference Counting) support - should be considered a POSSIBLY BREAKING change
- Use SQLite 3.26.0 (with a security update and support for window functions) with SQLITE_DEFAULT_SYNCHRONOUS=3 (EXTRA DURABLE) from cordova-sqlite-storage-dependencies 1.2.1 in this plugin version branch

Expand Down
7 changes: 0 additions & 7 deletions src/ios/SQLitePlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,6 @@ -(void) executeSqlBatchNow: (CDVInvokedUrlCommand*)command
[self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
}

-(void) backgroundExecuteSql: (CDVInvokedUrlCommand*)command
{
[self.commandDelegate runInBackground:^{
[self executeSql:command];
}];
}

-(void) executeSql: (CDVInvokedUrlCommand*)command
{
NSMutableDictionary *options = [command.arguments objectAtIndex:0];
Expand Down

0 comments on commit d7b9605

Please sign in to comment.