CarelinkFollower notifications only in Dev build. #3671
-
I have started investigating why at some point xDrip stopped displaying the Carelink notifications (alerts) on the main chart. It seems that this functionality works on the Dev builds, but not on the Release. Is it possible that minifying the app cuts out too much of the code? I see that the RecentData data structure, that should hold all the info and notifications that were downloaded and deserialized from Carelink is missing the key member, the NotificationHistory, and therefore does not allow the notifications to be displayed. I'm not experienced in Java/Kotlin/Android studio, so I'm not sure how to fix this. Can any of you guys help and check this? @benceszasz ? For reference, there are screenshots of the same period of time using dev and release builds: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Can you post a screenshot of the classic status page from the version that works and the version that doesn't? |
Beta Was this translation helpful? Give feedback.
-
This is quite possible, add the |
Beta Was this translation helpful? Give feedback.
Okay, proGuard was the case. To fix it in single place I just added:
-keep class com.eveningoutpost.dexdrip.cgm.carelinkfollow.message.*
at the end of app/proguard-rules.pro file, and that fixed Carelink notifications issue on default build variant (fastDebug).