Skip to content

Expose historical tombstone reporting as a JS option #6423

Description

@antonis

Context

sentry-java 8.48.0 introduced the io.sentry.tombstone.report-historical AndroidManifest.xml <meta-data> option to enable historical tombstone reporting (sentry-java#5683).

Today, the RN SDK exposes enableTombstone (packages/core/src/js/options.ts:70), which maps to SentryAndroidOptions.setTombstoneEnabled(...) in packages/core/android/src/main/java/io/sentry/react/RNSentryStart.java:196. There is no equivalent JS option for the historical variant — users have to reach for AndroidManifest.xml.

Proposal

Add a JS option (e.g. enableHistoricalTombstoneReporting) that maps to the corresponding SentryAndroidOptions setter on Android, mirroring the existing enableTombstone wiring. iOS should be a no-op.

Motivation

  • Parity between the two tombstone toggles at the JS layer.
  • Avoids requiring users to edit native manifests for a feature otherwise configurable from JS.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions