Skip to content

Can't create a Breadcrumb with a custom date #1012

@ctweney

Description

@ctweney

Because io.sentry.Breadcrumb was written as a final class with a well-defended constructor, one can only instantiate a Breadcrumb with a date equal to DateUtils.getCurrentDateTimeOrNull(). This is a crippling limitation. Please provide a public constructor that allows setting a different date.

I'm using io.sentry:sentry-android:3.1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions