6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit b8d27268

AuthorMikkel Thygesen<mikkelet@gmail.com>
Date2026-03-12 09:14:13 +0100
Concierge payment: merge with develop

Changed files

common/lib/services/msal_service.dart | 4 +++-
 comwell_key_app/lib/main.dart         | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

Diff

diff --git a/common/lib/services/msal_service.dart b/common/lib/services/msal_service.dart
index 96892516..5e9bb52b 100644
--- a/common/lib/services/msal_service.dart
+++ b/common/lib/services/msal_service.dart
@@ -1,3 +1,5 @@
+import 'dart:io';
+
import 'package:common/storage/common_preferences.dart';
import 'package:common/utils/env_utils.dart';
import 'package:flutter/services.dart';
@@ -37,7 +39,7 @@ class MSALService {
authority: authorityUrl,
),
);
- await _clearStaleAccounts();
+ if (Platform.isIOS) await _clearStaleAccounts();
} catch (e) {
print("qqq msauth init=$e");
}
diff --git a/comwell_key_app/lib/main.dart b/comwell_key_app/lib/main.dart
index d54454fd..0dcb4c6e 100644
--- a/comwell_key_app/lib/main.dart
+++ b/comwell_key_app/lib/main.dart
@@ -64,7 +64,7 @@ void main() async {
),
);
} catch (e, st) {
- print("Error loading environment file: $e");
+ print("Error init app: $e");
if (!kDebugMode) Sentry.captureException(e, stackTrace: st);
rethrow;
}