Skip to content

feat(core): Track shake to report integration usage#5929

Merged
antonis merged 2 commits intomainfrom
antonislilis/rn-559-feedback-track-shake-integration-usage
Mar 31, 2026
Merged

feat(core): Track shake to report integration usage#5929
antonis merged 2 commits intomainfrom
antonislilis/rn-559-feedback-track-shake-integration-usage

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented Mar 31, 2026

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Adds a lazy-loaded ShakeToReport marker integration to track when the shake-to-report feedback feature is enabled. This follows the same pattern used by AutoInjectMobileFeedback, AutoInjectMobileFeedbackButton, and AutoInjectMobileScreenshotButton.

The marker integration is registered when:

  • enableFeedbackOnShake() is called in FeedbackWidgetManager (new arch / imperative path)
  • componentDidMount() detects shake is enabled in FeedbackWidgetProvider (class component path)

💡 Motivation and Context

We need usage statistics for the shake-to-report feature. The existing feedback integrations use lazy-loaded marker integrations for tracking, but the shake feature was missing one.

Closes #5897

💚 How did you test it?

  • Existing feedback tests pass (85/85)
  • Build succeeds

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

Add a lazy-loaded ShakeToReport marker integration to track when the
shake-to-report feedback feature is enabled, following the same pattern
used by AutoInjectMobileFeedback and other feedback marker integrations.

Closes #5897

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear-code
Copy link
Copy Markdown

linear-code bot commented Mar 31, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • feat(core): Track shake to report integration usage by antonis in #5929
  • chore(deps): update CLI to v3.3.5 by github-actions in #5925
  • chore: Replace prettier with oxfmt by antonis in #5880
  • chore(deps): bump brace-expansion to ^5.0.5 by antonis in #5920
  • chore(deps): bump path-to-regexp to ^8.4.0 by antonis in #5919
  • chore: Migrate from ESLint to oxlint by antonis in #5867
  • chore(deps): bump yaml to ^2.8.3 by antonis in #5921
  • chore(deps): bump activesupport to >= 7.2.3.1 by antonis in #5922
  • fix(ci): Update validate-pr action to remove draft enforcement by stephanie-anderson in #5923
  • chore(deps): bump actions/checkout from 4 to 6 by dependabot in #5916
  • chore(deps): bump getsentry/craft from 2.25.0 to 2.25.2 by dependabot in #5918
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.25.0 to 2.25.2 by dependabot in #5914
  • chore(deps): bump github/codeql-action from 4.34.1 to 4.35.1 by dependabot in #5917
  • chore(deps): bump dorny/paths-filter from 3.0.2 to 4.0.1 by dependabot in #5915
  • fix: Prevent script injection vulnerability in platform-check action by fix-it-felix-sentry in #5913
  • chore(ios): Upgrade clang-format from v20 to v22 by antonis in #5905
  • chore: Add PR validation workflow by stephanie-anderson in #5906
  • chore(deps): bump brace-expansion from 1.1.12 to 1.1.13 by dependabot in #5909
  • chore(deps): bump picomatch to fix ReDoS and method injection by antonis in #5900
  • chore(deps): update Android SDK to v8.37.1 by github-actions in #5884
  • fix(build): Update expo-handler sentry-android version in update script by antonis in #5904
  • fix(ios): synchronize RNSentryTimeToDisplay across main and bridge th… by huextrat in #5887
  • chore(deps): bump node-forge from 1.3.2 to 1.4.0 by dependabot in #5903
  • chore(deps): update Sentry Android Gradle Plugin to v6.3.0 by github-actions in #5902

Plus 1 more


🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against c6e66aa

@antonis antonis marked this pull request as ready for review March 31, 2026 08:37
@antonis antonis merged commit c26570f into main Mar 31, 2026
44 of 49 checks passed
@antonis antonis deleted the antonislilis/rn-559-feedback-track-shake-integration-usage branch March 31, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback: Track shake integration usage

2 participants