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.
@@ -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.3")
71
- implementation("io.github.gizwits:sdk-bluetooth:1.4.3")
72
- implementation("io.github.gizwits:sdk-lan:1.4.3")
73
- implementation("io.github.gizwits:sdk-mqtt:1.4.3")
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 GizWiFiActivatorEventType = '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';
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: GizWiFiActivatorEventType;
61
+ data: GizWiFiActivatorEventTypeAndroid | GizWiFiActivatorEventTypeiOS;
61
62
  }
62
63
  export interface GizLanProfile extends GizBaseProfile {
63
64
  ip: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gizwits-sdk-v5",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "Gizwits",
5
5
  "homepage": "https://github.com/demchenkoalex/react-native-gizwits-sdk-v5#readme",
6
6
  "main": "lib/index.js",
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
19
19
 
20
20
  s.dependency 'React'
21
21
  s.dependency 'CryptoSwift', '~> 1.8.0'
22
- s.dependency 'GizwitsiOSSDK', '~> 2.0.9'
22
+ s.dependency 'GizwitsiOSSDK', '~> 2.1.0'
23
23
 
24
24
  end
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "self:">
6
- </FileRef>
7
- </Workspace>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>