@onekeyfe/react-native-split-bundle-loader 6.7.0-2 → 6.7.0-20

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.
@@ -25,6 +25,11 @@ def getExtOrIntegerDefault(name) {
25
25
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["SplitBundleLoader_" + name]).toInteger()
26
26
  }
27
27
 
28
+ def reactNativeArchitectures() {
29
+ def value = rootProject.getProperties().get("reactNativeArchitectures")
30
+ return value ? value.split(",") : ["armeabi-v7a", "arm64-v8a", "x86", "x86_64"]
31
+ }
32
+
28
33
  android {
29
34
  namespace "com.splitbundleloader"
30
35
 
@@ -44,7 +49,7 @@ android {
44
49
  // STL [//ReactAndroid/hermestooling]"). Matches react-native-background-thread.
45
50
  arguments "-DANDROID_STL=c++_shared"
46
51
  // Only build the ABIs the app ships.
47
- abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
52
+ abiFilters(*reactNativeArchitectures())
48
53
  }
49
54
  }
50
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-split-bundle-loader",
3
- "version": "6.7.0-2",
3
+ "version": "6.7.0-20",
4
4
  "description": "Native split JavaScript bundle context and segment loading for OneKey",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",