getsentry / getsentry/sentry-react-native

Audit RN-specific public exports against documentation

Abierto
#6,095 1 comentario 0 reacciones 0 asignados Ver en GitHub
Docs React-Native
Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
366
Merge medio
1 d 6 h
PR fusionados (30 d)
94

Descripción

## 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`

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la lista completa de APIs públicas generada después de añadir @microsoft/api-extractor y, a continuación, contrasta las exportaciones específicas de React Native incluidas en ella con https://docs.sentry.io/platforms/react-native/. Excluye las reexportaciones de @sentry/core, @sentry/react y @sentry/browser; la tarea se considera completada cuando se hayan identificado y abordado las exportaciones de RN no documentadas y las referencias en la documentación a APIs eliminadas.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react-native, typescript
Área
documentation, mobile-dev
Tipo de issue
Documentación
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
52/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.