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

Method setUser

packages/core/src/js/NativeRNSentry.ts:34–34  ·  view source on GitHub ↗
(defaultUserKeys: UnsafeObject | null, otherUserKeys: UnsafeObject | null)

Source from the content-addressed store, hash-verified

32 fetchNativeFramesDelay(startTimestampSeconds: number, endTimestampSeconds: number): Promise<number | null>;
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;

Callers 10

setUserMethod · 0.65
setUserMethod · 0.65
setUserMethod · 0.65
callAllScopeMethodsFunction · 0.65
wrapper.test.tsFile · 0.65
scopeSync.test.tsFile · 0.65
enableSyncToNativeFunction · 0.65
setScopePropertiesFunction · 0.65
setScopePropertiesFunction · 0.65
setScopePropertiesFunction · 0.65

Calls

no outgoing calls

Tested by 1

callAllScopeMethodsFunction · 0.52