sentry-react-native
sentry-react-native copied to clipboard
Warn when multiple version of Sentry's JS SDK are used in RN project
Description
Sentry RN SDK depends on a specific version of Sentry's JS SDK, but nothing prevents user to install some of the JS packages with different versions.
Installing Sentry JS package is valid use case in monorepos with web apps and also for extending the RN SDK functionality.
But if incorrect version is installed it might lead to unexpected behaviour.
We can check this during bundling process.