sentry-java
sentry-java copied to clipboard
Detect if Sentry.init is called on Android instead of SentryAndroid.init
Description
We could detect that by Platform.isAndroid and fail the SDK (throw an exception), to let users know early that they are using the wrong static class
There should be no reason on Android to call Sentry.init, so let's be clear to the user and throw an Exception.