MCPcopy Create free account
hub / github.com/getsentry/sentry-react-native / isExpoGo

Function isExpoGo

packages/core/src/js/utils/environment.ts:38–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37/** Check if JS runs in Expo Go */
38export function isExpoGo(): boolean {
39 const expoGo = getExpoGo();
40 return !!expoGo;
41}
42
43/** Check Expo Go version if available */
44export function getExpoGoVersion(): string | undefined {

Callers 13

initFunction · 0.90
setupNativeLogListenerFunction · 0.90
shouldEnableNativeNaggerFunction · 0.90
FeedbackFormClass · 0.90
CustomMask.tsxFile · 0.90
mobileReplayIntegrationFunction · 0.90
addExpoGoContextFunction · 0.90
setupFunction · 0.90
SentryPlaygroundFunction · 0.90

Calls 1

getExpoGoFunction · 0.90

Tested by

no test coverage detected