@infilectorg/infiviz-shots-react-sdk 1.1.9 → 1.1.11
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
CHANGED
|
@@ -64,11 +64,13 @@ android {
|
|
|
64
64
|
|
|
65
65
|
buildTypes {
|
|
66
66
|
release {
|
|
67
|
-
|
|
67
|
+
debuggable false
|
|
68
|
+
minifyEnabled false
|
|
68
69
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
69
70
|
}
|
|
70
71
|
debug {
|
|
71
72
|
minifyEnabled false
|
|
73
|
+
debuggable true
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
|
|
@@ -77,8 +79,8 @@ android {
|
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
compileOptions {
|
|
80
|
-
sourceCompatibility JavaVersion.
|
|
81
|
-
targetCompatibility JavaVersion.
|
|
82
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
83
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
sourceSets {
|
|
@@ -103,7 +105,7 @@ dependencies {
|
|
|
103
105
|
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
|
104
106
|
|
|
105
107
|
|
|
106
|
-
implementation 'com.infilect:infivizshots-sdk:RN-1.0.
|
|
108
|
+
implementation 'com.infilect:infivizshots-sdk:RN-1.0.10'
|
|
107
109
|
|
|
108
110
|
testImplementation 'junit:junit:4.13.2'
|
|
109
111
|
implementation 'com.github.bumptech.glide:glide:4.14.2'
|
|
@@ -122,4 +124,4 @@ react {
|
|
|
122
124
|
jsRootDir = file("../src/")
|
|
123
125
|
libraryName = "InfivizShotsReactSdk"
|
|
124
126
|
codegenJavaPackageName = "com.infilect.infivizshotsreactsdk"
|
|
125
|
-
}
|
|
127
|
+
}
|
package/android/src/main/java/com/infilect/infivizshotsreactsdk/InfivizShotsReactSdkModule.kt
CHANGED
|
@@ -50,8 +50,9 @@ class InfivizShotsReactSdkModule(private val reactContext: ReactApplicationConte
|
|
|
50
50
|
val status = intent!!.getStringExtra(IntentConstants.STATUS)
|
|
51
51
|
val message = intent.getStringExtra(IntentConstants.MESSAGE)
|
|
52
52
|
val sessionId = intent.getStringExtra(IntentConstants.SESSION_ID)
|
|
53
|
+
val universalSessionId = intent.getStringExtra(IntentConstants.EXTERNAL_SESSION_ID)
|
|
53
54
|
|
|
54
|
-
sendEventToReact(SDKEvent.SYNC_EVENT, sessionId!!, status!!, message
|
|
55
|
+
sendEventToReact(SDKEvent.SYNC_EVENT, sessionId!!, status!!, message!!,universalSessionId)
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
|