getsentry / getsentry/sentry-react-native
Audit RN-specific public exports against documentation
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 366
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 89
Description
## 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`
Contributor guide
Assessment
This issue has not been assessed yet.