react-native-gizwits-sdk-v5 2.1.1-beta → 2.1.2-beta
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/README.md
CHANGED
|
@@ -62,7 +62,7 @@ HarmonyOS 同一设备的 Wi-Fi 列表和时间同步共用 BLE 会话,需要
|
|
|
62
62
|
请求尚未完成时启动另一操作会返回 `E_BLE_REQUEST_BUSY`。
|
|
63
63
|
设备的 `bleCapability.profile.support5GConfig`(别名 `supports5GConfig`)和
|
|
64
64
|
`supportsSecureChannel` 表示其广播中的能力,实际使用仍需固件支持。
|
|
65
|
-
本版本依赖 Android SDK `1.4.
|
|
65
|
+
本版本依赖 Android SDK `1.4.15`、iOS SDK `~> 2.1.10`。
|
|
66
66
|
HarmonyOS HAR 内置本地构建的四个 SDK 模块,无需先将原生 SDK 发布到 OHPM。
|
|
67
67
|
|
|
68
68
|
## 连接的云服务
|
|
@@ -150,6 +150,14 @@ import RNGizSDKManagerModule, {
|
|
|
150
150
|
|
|
151
151
|
## 更新日志
|
|
152
152
|
|
|
153
|
+
### 2.1.2-beta
|
|
154
|
+
|
|
155
|
+
- iOS SDK 升级至 `~> 2.1.10`,使用包含真机 arm64 和模拟器 arm64 / x86_64 的 XCFramework。
|
|
156
|
+
- 可在 Apple Silicon 的 iPhone 模拟器运行;BLE 和设备配网仍需真机验证。
|
|
157
|
+
- 更新后运行 `pod update GizwitsiOSSDK`,并移除应用中为旧 SDK 设置的模拟器 arm64 排除项。
|
|
158
|
+
- Android SDK 升级至 `1.4.15`,修复 V5 配网元数据重复追加,改善纯文本反馈上传和 HTTP 错误处理。
|
|
159
|
+
- HarmonyOS HAR 内置的四个原生 SDK 模块同步至 `1.0.5` 基础版本;桥接 API 保持不变。
|
|
160
|
+
|
|
153
161
|
### 2.1.1-beta
|
|
154
162
|
|
|
155
163
|
- HarmonyOS 接入 Wi-Fi 列表、独立时间同步和对应取消接口,补齐 5 GHz 与安全通道能力标记。
|
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.15")
|
|
71
|
+
implementation("io.github.gizwits:sdk-bluetooth:1.4.15")
|
|
72
|
+
implementation("io.github.gizwits:sdk-lan:1.4.15")
|
|
73
|
+
implementation("io.github.gizwits:sdk-mqtt:1.4.15")
|
|
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
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-gizwits-sdk-v5",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2-beta",
|
|
4
4
|
"description": "Gizwits Smart SDK v5 bridge for React Native on Android, iOS and HarmonyOS",
|
|
5
5
|
"homepage": "https://github.com/demchenkoalex/react-native-gizwits-sdk-v5#readme",
|
|
6
6
|
"main": "lib/index",
|
|
@@ -14,11 +14,10 @@ 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/GizwitsiOSSDK.framework"
|
|
18
17
|
s.requires_arc = true
|
|
19
18
|
|
|
20
19
|
s.dependency 'React'
|
|
21
20
|
s.dependency 'CryptoSwift', '~> 1.8.0'
|
|
22
|
-
s.dependency 'GizwitsiOSSDK', '~> 2.1.
|
|
21
|
+
s.dependency 'GizwitsiOSSDK', '~> 2.1.10'
|
|
23
22
|
|
|
24
23
|
end
|