getsentry / getsentry/sentry-react-native

Audit RN-specific public exports against documentation

Aperta
#6,095 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Docs React-Native
Lingua principale
TypeScript
Stelle
1.8k
Fork
366
Merge medio
1g 5h
PR unite (30g)
93

Descrizione

## Context

With `@microsoft/api-extractor` added in #6093, we have a complete list of the SDK's public API surface. This issue tracks cross-referencing React Native-specific exports against https://docs.sentry.io/platforms/react-native/ to find undocumented APIs or docs referencing removed APIs.

Only RN-specific exports — re-exports from `@sentry/core`, `@sentry/react`, and `@sentry/browser` are out of scope (those are documented by the JS SDK).

## RN-specific exports to check

### Core
- `init`, `wrap`, `close`, `flush`, `withScope`, `nativeCrash`, `crashedLastRun`, `appLoaded`
- `ReactNativeClient`, `ReactNativeOptions`
- `SDK_NAME`, `SDK_VERSION`
- `getDataFromUri`

### Integrations
- `reactNativeTracingIntegration`, `reactNavigationIntegration`, `reactNativeNavigationIntegration`
- `reactNativeErrorHandlersIntegration`
- `mobileReplayIntegration`, `browserReplayIntegration`
- `feedbackIntegration`, `FeedbackForm`, `FeedbackButton`, `showFeedbackForm`, `showFeedbackButton`, `hideFeedbackButton`, `enableFeedbackOnShake`, `disableFeedbackOnShake`
- `hermesProfilingIntegration`
- `appStartIntegration`, `nativeFramesIntegration`, `stallTrackingIntegration`
- `breadcrumbsIntegration`, `nativeLinkedErrorsIntegration`
- `screenshotIntegration`, `viewHierarchyIntegration`
- `deviceContextIntegration`, `eventOriginIntegration`, `nativeReleaseIntegration`, `sdkInfoIntegration`, `reactNativeInfoIntegration`, `modulesLoaderIntegration`
- `debugSymbolicatorIntegration`, `appRegistryIntegration`
- `spotlightIntegration`
- `graphqlIntegration`, `supabaseIntegration`, `deeplinkIntegration`
- `expoContextIntegration`, `expoConstantsIntegration`, `expoUpdatesListenerIntegration`
- `userInteractionIntegration`, `timeToDisplayIntegration`
- `logEnricherIntegration`, `primitiveTagIntegration`
- `createNativeFramesIntegrations`, `createReactNativeRewriteFrames`

### Tracing
- `sentryTraceGesture`
- `TimeToInitialDisplay`, `TimeToFullDisplay`, `createTimeToInitialDisplay`, `createTimeToFullDisplay`
- `startTimeToInitialDisplaySpan`, `startTimeToFullDisplaySpan` (deprecated)
- `startIdleNavigationSpan`, `startIdleSpan`, `getDefaultIdleNavigationSpanOptions`
- `getCurrentReactNativeTracingIntegration`, `getReactNativeTracingIntegration`

### Components
- `TouchEventBoundary`, `withTouchEventBoundary`
- `GlobalErrorBoundary`, `withGlobalErrorBoundary`
- `Mask`, `Unmask`

### Expo helpers
- `wrapExpoRouter`, `wrapExpoImage`, `wrapExpoAsset`

### Types
- `GlobalErrorBoundaryProps`, `TimeToDisplayProps`, `NativeLogEntry`
- `ExpoRouter`, `ExpoImage`, `ExpoAsset`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.