update dependencies and general fixes

This commit is contained in:
problematicconsumer
2023-09-18 22:34:17 +03:30
parent 4c30e83386
commit 465ba36f88
11 changed files with 115 additions and 120 deletions

View File

@@ -33,6 +33,9 @@ Future<void> lazyBootstrap(
) async {
FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding);
if (PlatformUtils.isDesktop) await windowManager.ensureInitialized();
final sentryLogger = SentryLoggyIntegration();
_loggers.addPrinter(sentryLogger);
Loggy.initLoggy();
final appInfo = await AppRepositoryImpl.getAppInfo(env);
@@ -45,8 +48,6 @@ Future<void> lazyBootstrap(
);
final enableAnalytics = container.read(enableAnalyticsProvider);
final sentryLogger = SentryLoggyIntegration();
_loggers.addPrinter(sentryLogger);
await SentryFlutter.init(
(options) {