sentry-react-native
sentry-react-native copied to clipboard
Add actual JS/RN version to native SDK packages.
Description
Although this should never happen intentionally and misalignment of native and JS code is highly discouraged and can cause unexpected crashes.
In practice this can happen by accident with OTA updates of the JS code.
It's will be helpful information to record the actual JS/RN SDK version in native SDK packages.
This could help understand some unexpected behaviour when debugging the SDK.
Improvement of https://github.com/getsentry/sentry-react-native/pull/4380, which reports the built in version, suggested by @antonis