XuqmGroup-AndroidSDK/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
..
scripts docs(deploy): 添加部署文档和安全设计规范 2026-05-08 18:31:59 +08:00
src/main/java/com/xuqm/sdk/update fix(sdk-update): make UpdateInfo.apkHash nullable to prevent NPE on missing server field 2026-06-11 20:24:46 +08:00
build.gradle.kts build: 各 SDK 模块独立版本,publish.gradle 改用 project.version 2026-05-21 16:48:10 +08:00
consumer-rules.pro docs(test): 更新测试报告和文档 2026-05-05 16:06:32 +08:00