Setup windows installer

This commit is contained in:
2025-08-12 15:25:41 +08:00
parent 4bde708878
commit 3a36915140
4 changed files with 32 additions and 0 deletions

View File

@@ -62,6 +62,8 @@ void main() async {
FirebaseMessaging.onBackgroundMessage(
_firebaseMessagingBackgroundHandler,
);
// Although previous if case checked this. Still check is web or not
// Otherwise the web platform will broke due to there is no Platform api on the web
if (kIsWeb || !Platform.isWindows) {
FlutterError.onError =
FirebaseCrashlytics.instance.recordFlutterFatalError;