You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
here the exposed API only states available thru the Hub.
Java hides getCurrentHub, it's package-private.
Cocoa has SentrySDK.currentHub() public so one could SentrySDK.currentHub().startSession() but it doesn't have SentrySDK.startSession directly on the Static API.
Java does have
Sentry.startSessionandSentry.endSessionso if one decides to do its own instrumentation, that's possible.https://develop.sentry.dev/sdk/sessions/#exposed-api
here the exposed API only states available thru the
Hub.Java hides
getCurrentHub, it's package-private.Cocoa has
SentrySDK.currentHub()public so one couldSentrySDK.currentHub().startSession()but it doesn't haveSentrySDK.startSessiondirectly on the Static API.Is there a reason why? should we unify this?
@bruno-garcia @philipphofmann
tagging @mitsuhiko as the initial API design.