Skip to content

Commit 162ea42

Browse files
authored
Merge pull request #9 from OutSystems/fix/RNMT-4515/revert-hotfix-update-libs
RNMT-4515 Revert #7 and update dependency libs to fully support Android 11
2 parents dea310f + 2399cfe commit 162ea42

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"homepage": "https://github.com/xpbrew/cordova-sqlite-storage",
3232
"dependencies": {
33-
"cordova-sqlite-storage-dependencies": "2.0.0"
33+
"cordova-sqlite-storage-dependencies": "https://github.com/OutSystems/cordova-sqlite-storage-dependencies#2.0.0-OS1"
3434
},
3535
"scripts": {
3636
"clean-spec": "rm -rf spec/[mnp]* && git cl spec/config.xml && git st",

src/android/io/sqlc/SQLitePlugin.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
package io.sqlc;
88

9-
import android.os.Build;
109
import android.util.Log;
1110

1211
import java.io.File;
@@ -338,11 +337,6 @@ private class DBRunner implements Runnable {
338337

339338
this.q = new LinkedBlockingQueue<DBQuery>();
340339
this.openCbc = cbc;
341-
342-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
343-
Log.v(SQLitePlugin.class.getSimpleName(), "Applying hotfix for Android 11+");
344-
this.oldImpl = true;
345-
}
346340
}
347341

348342
public void run() {

0 commit comments

Comments
 (0)