Skip to content

Write the RN/Expo spec and acceptance tests for sentry wizard #7068

Open

Description

@antonis

Part of the RN-869 action plan (sections 1 and 2).

The new CLI will replace sentry init with a sentry wizard command that takes over what @sentry/wizard does today. How it gets built is still open: a code port or an AI-assisted rewrite. Either way, React Native and Expo need a written spec of what the command must do, and acceptance tests that prove it.

Scope

What must keep working (from the legacy RN wizard, 9.1.0):

  • Install @sentry/react-native. Expo: with npx expo install, so the version matches the Expo SDK.
  • Add Sentry.init and Sentry.wrap.
  • Metro: withSentryConfig for bare RN, getSentryExpoConfig for Expo.
  • iOS: wrap the bundle phase with sentry-xcode.sh, add the dSYM upload phase, and run pod install.
  • Android: apply sentry.gradle.
  • Expo: add the @sentry/react-native/expo config plugin.
  • Token: sentry.properties for bare RN, .env.local for Expo.
  • Feature prompts: Logs, Session Replay, User Feedback.

What must be fixed, not ported:

Full context and links: RN-869 plan comment and RN-868.

Done when

  • The spec lists every requirement above as a check that passes or fails, separately for bare RN and Expo.
  • Each check says how it's verified: a file check, a build, or an event confirmed in Sentry.
  • Each "must keep working" item is marked keep, change or drop, with a reason.
  • The spec is reviewed by the RN team and shared with the CLI team.
  • Where possible, the checks are scripted in the verification harness (RN-872).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions