Open tevjef opened 3 months ago
HI @tevjef, thank you for reporting this. I believe this issue that is open is a semi-match and the workaround in it could potentially work for you. We have also filed an issue internally for R8 and will get to it when priorities allow. Please let me know if the workaround in that other issue works for you.
@tanderson-ld Hey, adding those rule does not work for me. I see those rules are already part of the consumer-proguard rules.
Are you able to experiment with excluding all LaunchDarkly classes?
I have also linked this issue to our internally tracked R8 Ticket, 199469
Maybe stating the obvious here, but as this SDK already has consumer keep rules, they might just have a missing some rule. One thing I noticed was that these rules also have Gson rules included. However, with the release of Gson 2.11.0 I think they can be removed.
Describe the bug
LDClient#*VariationDetail
returns nullEvaluationReason
with r8 enabledExpected behavior I expect the
EvaluationReason
to never be null on both debug and release builds of our app.Logs
Logging the detail and reason on release builds shows the value is null.
SDK version 5.3.0
Language version, developer tools
AGP 8.4.x with r8 full mode is enabled.