Skip to content

Audit RN-specific public exports against documentation #6095

@antonis

Description

@antonis

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

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions