Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions OneSignalSDK/onesignal/otel/consumer-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@
# OTel (e.g. sdk-logs AutoValue-generated types) references Google Auto Value annotations that are
# not on the app classpath. Wildcard covers inner types and extensions (e.g. Memoized).
-dontwarn com.google.auto.value.**

# Suppress R8 missing-class errors from OpenTelemetry version skew. When a host app bumps the
# transitive opentelemetry-bom, removed internal classes (e.g. io.opentelemetry.api.internal.ApiUsageLogger)
# leave dangling references from the unused opentelemetry-api-incubator alpha (ExtendedDefaultTracer).
# R8 suppresses a "Missing class" diagnostic when the MISSING class matches -dontwarn, so match the
# io.opentelemetry.api.internal package directly (referrer-independent). Scoped to api.internal (not a
# broad **.internal.** wildcard) so genuine missing-class errors in the sdk/exporter internals that
# OneSignal actively uses still surface. The incubator rule covers the unused ExtendedDefaultTracer path.
-dontwarn io.opentelemetry.api.incubator.**
-dontwarn io.opentelemetry.api.internal.**
Loading