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

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.
@@ -38,21 +38,22 @@ android {
38
38
  sourceCompatibility JavaVersion.VERSION_1_8
39
39
  targetCompatibility JavaVersion.VERSION_1_8
40
40
  }
41
+
42
+ // The .so files are in jniLibs folder
43
+ sourceSets {
44
+ main {
45
+ jniLibs.srcDirs = ['src/main/jniLibs']
46
+ }
47
+ }
41
48
  }
42
49
 
43
50
  repositories {
44
51
  mavenCentral()
45
52
  google()
46
- // Use flatDir to properly consume the AAR files
47
- flatDir {
48
- dirs 'libs'
49
- }
50
53
  }
51
54
 
52
55
  dependencies {
53
56
  implementation "com.facebook.react:react-native:+"
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')
57
+ // AAR for Java classes only (SDK wrapper classes)
58
+ implementation files('libs/app_p2p_api-5.0.0.aar')
58
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bits-innovate/react-native-vstarcam",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "React Native bridge for VStarCam P2P SDK",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
Binary file