Skip to content

Detect if Sentry.init is called on Android instead of SentryAndroid.init #3440

@romtsn

Description

@romtsn

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

Metadata

Metadata

Assignees

Labels

Breaking-changeshould go in a major release (breaks apps, changes default configs in a major way)

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions