Update: 2026-05-08 00:26:39
This commit is contained in:
@@ -4,6 +4,7 @@ import 'package:get/get.dart';
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
import 'app/routes/app_pages.dart';
|
||||
import 'core/services/push_notification_service.dart';
|
||||
import 'core/services/upload_progress_service.dart';
|
||||
import 'app/theme/app_theme.dart';
|
||||
|
||||
@pragma('vm:entry-point')
|
||||
@@ -22,6 +23,9 @@ void main() async {
|
||||
// 2. Register background handler
|
||||
FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
|
||||
|
||||
// 3. Register global services
|
||||
Get.put(UploadProgressService(), permanent: true);
|
||||
|
||||
runApp(const MusadaqApp());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user