XuqmGroup-AndroidSDK/sdk-update/src/main/java/com
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
..
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