You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Sure -- I want the breadcrumbs to persist from one run of the app to the next. Yet, I don't want to send breadcrumbs to the Sentry servers until an actual error is logged or the user pushes a certain button. So I persist breadcrumbs with the date/time they actually occurred into my app's SQLite db. If an error needs to be pushed to Sentry servers I get those breadcrumbs out of SQLite and push them.
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 toDateUtils.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
.The text was updated successfully, but these errors were encountered: