korsumaki/wifi-radar

Crash when enabling Demo Mode on release version

korsumaki opened this issue · 0 comments

Release version of app is crashing when Demo Mode is enabled.
Affected version: 0.6.0
Debug version is working as expected.

This crash happens when reading first scanlist from Demo Mode scanlist and trying to serialize it.

Code minifying has something to do with this.

Fatal Exception: p8.i: Serializer for class 'p' is not found.
Mark the class as @Serializable or provide the serializer explicitly.
       at androidx.compose.ui.platform.s.z(:50)
       at androidx.compose.ui.platform.s.A(:39)
       at b8.e.T(:159)
       at androidx.compose.ui.platform.s.z(:11)
       at com.korsumaki.wifiradar.MainActivity$e.run(:288)
       at java.util.TimerThread.mainLoop(Timer.java:563)
       at java.util.TimerThread.run(Timer.java:513)