@bits-innovate/react-native-vstarcam 1.0.3 → 1.0.5

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.
@@ -17,6 +17,11 @@ android {
17
17
  defaultConfig {
18
18
  minSdkVersion 21
19
19
  targetSdkVersion 34
20
+
21
+ // Include NDK ABIs
22
+ ndk {
23
+ abiFilters 'armeabi-v7a', 'arm64-v8a'
24
+ }
20
25
  }
21
26
 
22
27
  buildTypes {
@@ -38,13 +43,16 @@ android {
38
43
  repositories {
39
44
  mavenCentral()
40
45
  google()
46
+ // Use flatDir to properly consume the AAR files
47
+ flatDir {
48
+ dirs 'libs'
49
+ }
41
50
  }
42
51
 
43
52
  dependencies {
44
53
  implementation "com.facebook.react:react-native:+"
45
- // Reference the AAR directly from the libs folder
46
- implementation files('libs/app_p2p_api-5.0.0.aar')
54
+ // VStarCam SDK dependencies - include both AAR files!
55
+ // vp_log must be loaded first as it's a dependency of app_p2p_api
56
+ implementation(name: 'vp_log-5.0.0', ext: 'aar')
57
+ implementation(name: 'app_p2p_api-5.0.0', ext: 'aar')
47
58
  }
48
-
49
-
50
-
Binary file
@@ -429,7 +429,7 @@ public class VStarCamModule extends ReactContextBaseJavaModule {
429
429
  @ReactMethod
430
430
  public void getSdkVersion(Promise promise) {
431
431
  WritableMap result = Arguments.createMap();
432
- result.putString("version", "1.0.3");
432
+ result.putString("version", "1.0.5");
433
433
  result.putBoolean("nativeLoaded", isNativeLibraryLoaded);
434
434
  result.putString("nativeLib", "OKSMARTPPCS");
435
435
  promise.resolve(result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bits-innovate/react-native-vstarcam",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "React Native bridge for VStarCam P2P SDK",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",