On low level APIs it crashes on line
io.sentry.Sentry.init(AndroidSentryClientFactory(this))
With java.lang.NoClassDefFoundError: java.util.Objects
@BulatMukhutdin hey, thanks for raising this issue.
True, the usage of https://developer.android.com/reference/java/util/Objects.html#requireNonNull(T,%20java.lang.String) is only possible when Android API >= 19
@bruno-garcia what's the min. supported API version for this SDK?
Since we don't have a test matrix here as we do for sentry-android, it's hard to tell. If this is the only blocker to support API 19, we could get rid of Objects and make a new release.
not sure if only this is enough, but it's worth a try.
ps: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9
this lib. uses Jackson 2.10 and since 2.8 it's only officially supported on API >= 19, but it might work on older versions.
@BulatMukhutdin hey, we have fixed it and it's gonna be available on the next release, stay tuned.
@BulatMukhutdin It's finally out: https://github.com/getsentry/sentry-java/releases/tag/v1.7.30
Let us know if you have any issues. Cheers!
Most helpful comment
@BulatMukhutdin It's finally out: https://github.com/getsentry/sentry-java/releases/tag/v1.7.30
Let us know if you have any issues. Cheers!