react-native-gizwits-sdk-v5 1.6.2 → 1.6.4
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 +4 -4
- package/lib/types.d.ts +3 -2
- package/package.json +1 -1
- package/react-native-gizwits-sdk-v5.podspec +1 -1
- package/ios/RNGizSDKManagerModule.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/RNGizSDKManagerModule.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
package/android/build.gradle
CHANGED
|
@@ -67,10 +67,10 @@ dependencies {
|
|
|
67
67
|
// ESPTouch
|
|
68
68
|
implementation 'com.github.EspressifApp:lib-esptouch-android:1.1.1'
|
|
69
69
|
|
|
70
|
-
implementation("io.github.gizwits:sdk:1.4.
|
|
71
|
-
implementation("io.github.gizwits:sdk-bluetooth:1.4.
|
|
72
|
-
implementation("io.github.gizwits:sdk-lan:1.4.
|
|
73
|
-
implementation("io.github.gizwits:sdk-mqtt:1.4.
|
|
70
|
+
implementation("io.github.gizwits:sdk:1.4.5")
|
|
71
|
+
implementation("io.github.gizwits:sdk-bluetooth:1.4.5")
|
|
72
|
+
implementation("io.github.gizwits:sdk-lan:1.4.5")
|
|
73
|
+
implementation("io.github.gizwits:sdk-mqtt:1.4.5")
|
|
74
74
|
// implementation files('libs/sdk-release.aar', 'libs/sdk-bluetooth-release.aar', 'libs/sdk-lan-release.aar', 'libs/sdk-mqtt-release.aar')
|
|
75
75
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutine_version")
|
|
76
76
|
// retrofit
|
package/lib/types.d.ts
CHANGED
|
@@ -55,9 +55,10 @@ export interface GizBaseProfile {
|
|
|
55
55
|
export type BlueToothType = 'Mesh' | 'Beacon' | 'Voice' | 'GATT';
|
|
56
56
|
export type BlueToothVersion = 'BLE4' | 'BLE42' | 'BLE50';
|
|
57
57
|
export type NetStatus = 0 | 1 | 2;
|
|
58
|
-
export type
|
|
58
|
+
export type GizWiFiActivatorEventTypeAndroid = 'START_WIFI_CONFIG' | 'START_CONNECT_DEVICE' | 'CONNECT_DEVICE_SUCCESS' | 'CONNECT_DEVICE_FAIL' | 'START_SEND_WIFI_CONFIG' | 'START_SEND_WIFI_CONFIG_SUCCESS' | 'START_SEND_WIFI_CONFIG_FAIL' | 'WIFI_CONFIG_RECV_SUCCESS' | 'START_SEARCH_RANDOM_CODE' | 'START_SEARCH_RANDOM_CODE_SUCCESS' | 'WIFI_CONFIG_SUCCESS' | 'WIFI_CONFIG_CANCEL' | 'WIFI_CONFIG_FAIL';
|
|
59
|
+
export type GizWiFiActivatorEventTypeiOS = 1000 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1001 | 1011 | 1012 | 1013 | 1014 | 1015;
|
|
59
60
|
export interface GizWiFiActivatorEvent {
|
|
60
|
-
data:
|
|
61
|
+
data: GizWiFiActivatorEventTypeAndroid | GizWiFiActivatorEventTypeiOS;
|
|
61
62
|
}
|
|
62
63
|
export interface GizLanProfile extends GizBaseProfile {
|
|
63
64
|
ip: string;
|
package/package.json
CHANGED