You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We get the following build failure with release builds (Proguard/R8) when updating to 5.7.x (including 5.7.2):
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 com.fasterxml.jackson.core.JsonFactory (referenced from: com.fasterxml.jackson.core.JsonFactory io.opentelemetry.exporter.internal.marshal.JsonSerializer.JSON_FACTORY and 2 other contexts)
The workaround (according to AI) is to add these to your local proguardr-rules.pro:
# OpenTelemetry - Jackson is an optional dependency not included on Android
-dontwarn com.fasterxml.jackson.core.JsonFactory
-dontwarn com.fasterxml.jackson.core.JsonGenerator
But it seems like the library should include any needed rules in its consumer-rules.pro
Steps to reproduce?
Update from 5.6.2 to 5.7.2
Your build now fails.
What did you expect to happen?
I expected to be able to build my app. without hunting down proguard rules to add. as a workaround.
OneSignal Android SDK version
5.7.2
Android version
15
Specific Android models
Relevant log output
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 com.fasterxml.jackson.core.JsonFactory (referenced from: com.fasterxml.jackson.core.JsonFactory io.opentelemetry.exporter.internal.marshal.JsonSerializer.JSON_FACTORY and 2 other contexts)
Activity
[-][Bug]: 5.7,.x fails builds with R8/Proguard[/-][+][Bug]: 5.7,x fails builds with R8/Proguard[/+][-][Bug]: 5.7,x fails builds with R8/Proguard[/-][+][Bug]: 5.7.x fails builds with R8/Proguard[/+]abdulraqeeb33 commentedon Mar 17, 2026
Thanks @jt-gilkeson - a new version 5.7.3 should be available with this fix.