@bits-innovate/react-native-vstarcam 1.0.4 → 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.
- package/android/build.gradle +3 -7
- package/android/src/main/java/com/reactnativevstarcam/VStarCamModule.java +1 -1
- package/android/src/main/jniLibs/arm64-v8a/libOKSMARTPPCS.so +0 -0
- package/android/src/main/jniLibs/arm64-v8a/libvp_log.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libOKSMARTPPCS.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libvp_log.so +0 -0
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -39,7 +39,7 @@ android {
|
|
|
39
39
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
//
|
|
42
|
+
// The .so files are in jniLibs folder
|
|
43
43
|
sourceSets {
|
|
44
44
|
main {
|
|
45
45
|
jniLibs.srcDirs = ['src/main/jniLibs']
|
|
@@ -50,14 +50,10 @@ android {
|
|
|
50
50
|
repositories {
|
|
51
51
|
mavenCentral()
|
|
52
52
|
google()
|
|
53
|
-
// Use flatDir to properly consume the AAR
|
|
54
|
-
flatDir {
|
|
55
|
-
dirs 'libs'
|
|
56
|
-
}
|
|
57
53
|
}
|
|
58
54
|
|
|
59
55
|
dependencies {
|
|
60
56
|
implementation "com.facebook.react:react-native:+"
|
|
61
|
-
//
|
|
62
|
-
implementation(
|
|
57
|
+
// AAR for Java classes only (SDK wrapper classes)
|
|
58
|
+
implementation files('libs/app_p2p_api-5.0.0.aar')
|
|
63
59
|
}
|
|
@@ -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.
|
|
432
|
+
result.putString("version", "1.0.5");
|
|
433
433
|
result.putBoolean("nativeLoaded", isNativeLibraryLoaded);
|
|
434
434
|
result.putString("nativeLib", "OKSMARTPPCS");
|
|
435
435
|
promise.resolve(result);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|