Closed danielesegato closed 2 weeks ago
@danielesegato thanks for letting us know. Yeah, this binary incompatibility bug unfortunately slipped in in the 7.16.0 release. It only occurs if the sentry module versions are not in sync (e.g. sentry-android
and sentry-android-fragment
having different versions).
We've added it as a breaking change note to 7.16.0: https://github.com/getsentry/sentry-java/releases/tag/7.16.0
You can work around this by configuring the Sentry Android Gradle Plugin to use a specific version of the Sentry Android SDK:
sentry {
autoInstallation {
enabled = true
sentryVersion = "7.16.0"
}
}
The method is still in use in sentry-okhttp:
@matinzd it's a different method with different signature (accepts a String as an argument), and this is the one that replaced the method in question.
Ah right. I didn't look at the method signatures.
Integration
sentry-android
Build System
Gradle
AGP Version
8.7.2
Proguard
Enabled
Version
7.16.0
Steps to Reproduce
The setup:
Configure sentry in the Android Application
Add configuration in the manifest:
Add the sentry.properties file
Run the app
additional information: it used to work, I bumped up libraries versions and got this issue.
These are the relevant changes:
Expected Result
Either the app starts or the error mention incompatible plugin version.
Actual Result
The app crashes with an error that has nothing pointing to the plugin incompatibility being an issue