The class AAPSStatusHandler uses info.nightscout.sdk.localmodel.devicestatus.NSDeviceStatus (ns-sdk-full-release:@aar) which is annotated with @Serializable this throws the following compile time warning:
Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in ...\missing_rules.txt.
Missing class kotlinx.serialization.Serializable (referenced from: info.nightscout.sdk.localmodel.devicestatus.NSDeviceStatus$Configuration and 5 other contexts)
Since we only deserialize a Json string into an NSDeviceStatus object, we can ignore this warning and disable it with a ProGuard rule.
The class
AAPSStatusHandler
usesinfo.nightscout.sdk.localmodel.devicestatus.NSDeviceStatus
(ns-sdk-full-release:@aar
) which is annotated with@Serializable
this throws the following compile time warning:Since we only deserialize a Json string into an
NSDeviceStatus
object, we can ignore this warning and disable it with a ProGuard rule.