Skip to content

SentryClient constructor is marked as internal #4780

@oroatlightrun

Description

@oroatlightrun

Integration

sentry

Java Version

17

Version

8.18.0

Steps to Reproduce

  1. Follow the code detailed in https://docs.sentry.io/platforms/android/configuration/shared-environments/ for setting up the Java Sentry client in a shared environment.
    See
    public SentryClient(final @NotNull SentryOptions options) {

Expected Result

Following the code outlined in https://docs.sentry.io/platforms/android/configuration/shared-environments/ shouldn't result in any validation errors or compliance issues.

Actual Result

The constructor is marked as internal, violating our compliance rules.
This is similar to this issue: #4722.
As far as I know, the issue still persist on the main branch.

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions