Skip to content

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

@github-actions

Description

@github-actions

cc @getsentry/team-mobile-cross-platform

SDK Changes Detected

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

Potential Skill Gaps

  1. New Feature — Shake to Report: PR #5754 adds native shake-to-report functionality for the feedback widget, delegating to SentryShakeDetector in the native iOS and Android SDKs. Two new APIs were added:

    • Config option in feedbackIntegration: enableShakeToReport: true — automatically shows the feedback widget when the device is shaken.
    • Imperative APIs: Sentry.enableFeedbackOnShake() and Sentry.disableFeedbackOnShake() — programmatically start/stop shake detection at runtime.

    The current references/user-feedback.md mentions "shake gesture handler" only as a manual code pattern (calling Sentry.showFeedbackWidget() from a custom RN shake handler). It does not document the new built-in native shake detection capability.

    // Option A: declarative via feedbackIntegration config
    Sentry.init({
      integrations: [
        Sentry.feedbackIntegration({ enableShakeToReport: true }),
      ],
    });
    
    // Option B: imperative
    Sentry.enableFeedbackOnShake();
    // later...
    Sentry.disableFeedbackOnShake();

Skill Files to Review

  • skills/sentry-react-native-sdk/references/user-feedback.md
  • skills/sentry-react-native-sdk/SKILL.md (feedbackIntegration config table at line 684)

Priority

MEDIUM — New user-facing feature with both config option and imperative API that users will ask about.

Generated by SDK Skill Drift Detector ·

  • expires on Apr 6, 2026, 11:02 PM UTC

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