react-native-gizwits-sdk-v5 1.4.63-light → 1.4.63
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
|
@@ -65,10 +65,10 @@ dependencies {
|
|
|
65
65
|
|
|
66
66
|
implementation 'com.github.wendykierp:JTransforms:3.1'
|
|
67
67
|
|
|
68
|
-
implementation("io.github.gizwits:sdk:1.3.
|
|
69
|
-
implementation("io.github.gizwits:sdk-bluetooth:1.3.
|
|
70
|
-
implementation("io.github.gizwits:sdk-lan:1.3.
|
|
71
|
-
implementation("io.github.gizwits:sdk-mqtt:1.3.
|
|
68
|
+
implementation("io.github.gizwits:sdk:1.3.5")
|
|
69
|
+
implementation("io.github.gizwits:sdk-bluetooth:1.3.5")
|
|
70
|
+
implementation("io.github.gizwits:sdk-lan:1.3.5")
|
|
71
|
+
implementation("io.github.gizwits:sdk-mqtt:1.3.5")
|
|
72
72
|
// implementation files('libs/sdk-release.aar', 'libs/sdk-bluetooth-release.aar', 'libs/sdk-lan-release.aar', 'libs/sdk-mqtt-release.aar')
|
|
73
73
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutine_version")
|
|
74
74
|
// retrofit
|
package/android/src/main/java/com/gizwits/reactnativegizwitssdkv5/RNGizDeviceManagerModule.kt
CHANGED
|
@@ -11,7 +11,7 @@ import com.gizwits.smart.sdk.GizDevice
|
|
|
11
11
|
import com.gizwits.smart.sdk.GizSDKManager
|
|
12
12
|
import com.gizwits.smart.sdk.bluetooth.bleCapability
|
|
13
13
|
import com.gizwits.smart.sdk.common.GizConfiguration
|
|
14
|
-
import com.gizwits.smart.sdk.common.
|
|
14
|
+
import com.gizwits.smart.sdk.common.GizWiFiActivatorEvent
|
|
15
15
|
import com.gizwits.smart.sdk.core.capacity.CapacityTypes
|
|
16
16
|
import com.gizwits.smart.sdk.exception.GizException
|
|
17
17
|
import com.gizwits.smart.sdk.lan.lanCapability
|
|
@@ -277,7 +277,7 @@ class RNGizDeviceManagerModule(reactContext: ReactApplicationContext) : ReactCon
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
fun wiFiCredentialsEventHandler(event:
|
|
280
|
+
fun wiFiCredentialsEventHandler(event: GizWiFiActivatorEvent, device: GizDevice) {
|
|
281
281
|
val jsonObject = JSONObject()
|
|
282
282
|
jsonObject.put("data", event.toString())
|
|
283
283
|
jsonObject.put("device", device.toJsonObject())
|
package/package.json
CHANGED
|
@@ -14,11 +14,11 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
|
|
15
15
|
s.source = { :git => "https://github.com/demchenkoalex/react-native-module-template.git", :tag => "v#{s.version}" }
|
|
16
16
|
s.source_files = "ios/**/*.{h,m,swift}"
|
|
17
|
-
# s.vendored_frameworks = "ios/
|
|
17
|
+
# s.vendored_frameworks = "ios/GizwitsiOSSDK.framework"
|
|
18
18
|
s.requires_arc = true
|
|
19
19
|
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
s.dependency 'CryptoSwift', '~> 1.8.0'
|
|
22
|
-
s.dependency '
|
|
22
|
+
s.dependency 'GizwitsiOSSDK', '~> 1.7.2'
|
|
23
23
|
|
|
24
24
|
end
|