Skip to content

Sync Environment via IScopeObserver in Hybrid SDK scenarios (sentry-java) #5387

Description

@jamescrosswell

Follow-up to #5385 to cover sentry-java.

Sync SentryOptions.Environment during hybrid-SDK Init.
Sync Scope.Environment with the hybrid SDK via IScopeObserver.

For sentry-java (Android).

The equivalent work for sentry-native and sentry-cocoa was tracked in #5385 and delivered in:

This issue tracks the remaining sentry-java layer, which was explicitly deferred in that work.

[!NOTE]
This is needed by the gaming SDKs since the 'environment' for gaming SDKs can change after the user logs in... a bit weird but something we need to accommodate.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions