Skip to content

Conversation

@HannesVDB
Copy link
Contributor

Added:

  • Sentry logger
  • Sentry performance logger

@HannesVDB HannesVDB mentioned this pull request Feb 9, 2026
Copy link

@robbe-jansens-icapps robbe-jansens-icapps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments but nice implementation overall 👌

@override
void initState() {
super.initState();
WidgetsBinding.instance.addPostFrameCallback((_) => getIt<SentryPerformanceLogger>().finishAppLoadTransaction());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move this to the ViewModel

await SentryFlutter.init(
(options) {
options
..dsn = ''

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add this to the FlavorValues with an empty string as default.

return event;
}
..diagnosticLevel = SentryLevel.error
..environment = 'development';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also get this one as a getter on the Flavor enum.

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants