sentry-react-native
sentry-react-native copied to clipboard
Add warning when Gradle resolves to unsupported `sentry-android` version
Description
If @sentry/react-native is combined with SAGP, sentry-android will resolve to the newer dependency, either from the SDK or the SAGP.
This can be an issue when users add SAGP which depends on a newer version of sentry-android than the RN SDK.
Version mismatch can cause errors like:
- https://github.com/getsentry/sentry-react-native/issues/3560
- https://github.com/getsentry/sentry-react-native/issues/3570
- https://github.com/getsentry/sentry-react-native/issues/3497