Skip to content

[skill-drift] sentry-react-native-sdk may need updates #63

@github-actions

Description

@github-actions

cc @getsentry/team-mobile-cross-platform

SDK Changes Detected

The following PRs were merged to getsentry/sentry-react-native in the last 7 days that may affect the sentry-react-native-sdk skill:

Potential Skill Gaps

  1. Breaking Change (Expo Plugin API): PR #5804 replaces the Expo config plugin's top-level environment property with a generic options object. The new API is:

    {
      "plugins": [["`@sentry/react-native`/expo", {
        "url": "https://sentry.io/",
        "project": "my-project",
        "organization": "my-org",
        "options": {
          "dsn": "...",
          "environment": "staging",
          "tracesSampleRate": 1.0
        }
      }]]
    }

    The skill's Path B (Expo) Step 3 does not show the options property at all. Users who previously used environment at the top level would be using the removed API.

  2. New Feature: Bare React Native builds now support SENTRY_ENVIRONMENT as a build-time environment variable. When set, it overrides the environment field in the copied sentry.options.json during iOS (sentry-xcode.sh) and Android (sentry.gradle) native builds. The skill should document this as a zero-code way to set environment in CI/CD pipelines for bare RN projects.

Skill Files to Review

  • skills/sentry-react-native-sdk/SKILL.md

Priority

HIGH — the Expo plugin environment top-level property was removed; the skill's Expo path needs to be updated to reflect the new options object API to avoid breaking user configurations.

Generated by SDK Skill Drift Detector ·

  • expires on Mar 30, 2026, 11:02 PM UTC

Metadata

Metadata

Assignees

No one assigned
    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