Gradle Version
8.7
AGP Version
8.5.2
Code Minifier/Optimizer
R8
Version
4.11.0
Sentry SDK Version
7.0.0
Steps to Reproduce
Platform: Android
JDK Version: 18
build apk on debug mode, disable minifyEnabled。
It's so confusing that when I apply io.sentry.android.gradle plugin, the method which named getIdentifier in another class file would be deleted. I can't find it in the final output class file.

If not apply plugin, the method won't be deleted.

Maybe it's not the issue with sentry, but I have nowhere else to turn for help.
Expected Result
the method is kept in the final class file.
Actual Result
the method is deleted in the final class file.
Gradle Version
8.7
AGP Version
8.5.2
Code Minifier/Optimizer
R8
Version
4.11.0
Sentry SDK Version
7.0.0
Steps to Reproduce
Platform: Android
JDK Version: 18
build apk on debug mode, disable minifyEnabled。
It's so confusing that when I apply
io.sentry.android.gradleplugin, the method which namedgetIdentifierin another class file would be deleted. I can't find it in the final output class file.If not apply plugin, the method won't be deleted.
Maybe it's not the issue with sentry, but I have nowhere else to turn for help.
Expected Result
the method is kept in the final class file.
Actual Result
the method is deleted in the final class file.