XuqmGroup-AndroidSDK/sdk-update/src/main/java/com/xuqm/sdk/update
XuqmGroup b2993038e5 fix(sdk-update): make UpdateInfo.apkHash nullable to prevent NPE on missing server field
Gson sets absent JSON fields to null even for Kotlin non-null types.
Calling copy() on an UpdateInfo where apkHash is null triggers a
runtime NPE. Declaring the field as String? and passing ?: "" at the
call site is the minimal safe fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 20:24:46 +08:00
..
api feat(update): 添加应用更新检查功能支持用户ID参数 2026-05-08 12:00:32 +08:00
model fix(sdk-update): make UpdateInfo.apkHash nullable to prevent NPE on missing server field 2026-06-11 20:24:46 +08:00
UpdateListener.kt feat(update): 添加 API Key 管理和 WebSocket 实时通知功能 2026-06-11 12:25:30 +08:00
UpdateSDK.kt fix(sdk-update): make UpdateInfo.apkHash nullable to prevent NPE on missing server field 2026-06-11 20:24:46 +08:00
UpdateWebSocket.kt feat(update): 添加 API Key 管理和 WebSocket 实时通知功能 2026-06-11 12:25:30 +08:00