MCPcopy Index your code
hub / github.com/getsentry/sentry-react-native / setContext

Method setContext

packages/core/src/js/NativeRNSentry.ts:35–35  ·  view source on GitHub ↗
(key: string, value: UnsafeObject | null)

Source from the content-addressed store, hash-verified

33 initNativeSdk(options: UnsafeObject): Promise<boolean>;
34 setUser(defaultUserKeys: UnsafeObject | null, otherUserKeys: UnsafeObject | null): void;
35 setContext(key: string, value: UnsafeObject | null): void;
36 setExtra(key: string, value: string): void;
37 setTag(key: string, value: string): void;
38 setAttribute(key: string, value: string): void;

Callers 13

setContextMethod · 0.65
setContextMethod · 0.65
callAllScopeMethodsFunction · 0.65
wrapper.test.tsFile · 0.65
scopeSync.test.tsFile · 0.65
enableSyncToNativeFunction · 0.65
syncToScopeFunction · 0.65
clearScopeFunction · 0.65
setScopePropertiesFunction · 0.65
setScopePropertiesFunction · 0.65

Calls

no outgoing calls

Tested by 1

callAllScopeMethodsFunction · 0.52