@op-engineering/op-sqlite 13.0.1 → 13.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,6 +109,11 @@ def getExtOrDefault(name) {
109
109
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["OPSQLite" + name]
110
110
  }
111
111
 
112
+ def reactNativeArchitectures() {
113
+ def value = project.getProperties().get("reactNativeArchitectures")
114
+ return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
115
+ }
116
+
112
117
  android {
113
118
 
114
119
  compileSdkVersion safeExtGet("compileSdkVersion", 33)
@@ -178,7 +183,7 @@ android {
178
183
  }
179
184
 
180
185
  cppFlags "-O2 -frtti -fexceptions -Wall -fstack-protector-all"
181
- abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
186
+ abiFilters(*reactNativeArchitectures())
182
187
  arguments "-DANDROID_STL=c++_shared",
183
188
  "-DSQLITE_FLAGS='$sqliteFlags'",
184
189
  "-DUSE_SQLCIPHER=${useSQLCipher ? 1 : 0}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@op-engineering/op-sqlite",
3
- "version": "13.0.1",
3
+ "version": "13.0.2",
4
4
  "description": "Next generation SQLite for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",