diff --git a/sentry-android-core/proguard-rules.pro b/sentry-android-core/proguard-rules.pro index 2ec39f82fe..f058197818 100644 --- a/sentry-android-core/proguard-rules.pro +++ b/sentry-android-core/proguard-rules.pro @@ -36,12 +36,6 @@ # keep the name of the class the presence check looks up, so it still finds it in minified apps -keepnames class androidx.webkit.ScriptHandler -# The Sentry Android Gradle Plugin's WebView instrumentation rewrites WebView.loadUrl calls to these -# methods by name, so keep their names --keepnames class io.sentry.android.core.SentryWebViewTracingAdapter { - public static void loadUrl(...); -} - # To ensure that stack traces is unambiguous # https://developer.android.com/studio/build/shrink-code#decode-stack-trace -keepattributes LineNumberTable,SourceFile diff --git a/sentry-android-core/src/main/java/io/sentry/android/core/SentryWebViewTracingAdapter.java b/sentry-android-core/src/main/java/io/sentry/android/core/SentryWebViewTracingAdapter.java index d9c70df3c9..62674456ce 100644 --- a/sentry-android-core/src/main/java/io/sentry/android/core/SentryWebViewTracingAdapter.java +++ b/sentry-android-core/src/main/java/io/sentry/android/core/SentryWebViewTracingAdapter.java @@ -17,7 +17,7 @@ * *

The plugin calls these methods by class name, method name and signature, so don't rename, move * or change them: apps built with an existing plugin version would fail to find them. Add new - * overloads instead. The consumer ProGuard rules keep their names. + * overloads instead. */ @ApiStatus.Internal public final class SentryWebViewTracingAdapter {