Skip to content

Expose IsTombstoneEnabled on options.Native for Android #5027

@jonathanmourtadahqv

Description

@jonathanmourtadahqv

Problem Statement

Feature Request

As discussed in #5022,
expose the Java SDK's Tombstone options through SentryOptions.NativeOptions.

The Java SDK (8.32.0+) has two Tombstone-related options on SentryAndroidOptions:

  • isTombstoneEnabled / setTombstoneEnabled
  • isReportHistoricalTombstones / setReportHistoricalTombstones

These enable native crash reporting via ApplicationExitInfo.REASON_CRASH_NATIVE
on Android 12+, providing richer crash data than NDK alone.

Suggested API

namespace Sentry
{
    public partial class SentryOptions
    {
        public class NativeOptions
        {
            public bool TombstoneEnabled { get; set; }
            public bool ReportHistoricalTombstones { get; set; }
        }
    }
}

Solution Brainstorm

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeFeatureNew feature or requestFramework: MAUIPlatform: Androidpublic APIAdditions/modifications to, or removals from, the public API surface area.
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions