103 lines
6.7 KiB
Plaintext
103 lines
6.7 KiB
Plaintext
Launching lib/main.dart on M2102J20SG in debug mode...
|
|
✓ Built build/app/outputs/flutter-apk/app-debug.apk
|
|
Connecting to VM Service at ws://127.0.0.1:36725/jp8cB4aqi1E=/ws
|
|
Connected to the VM Service.
|
|
[log] Initializing Firebase...
|
|
[log] Firebase initialized.
|
|
[log] Setting up Crashlytics...
|
|
[log] Crashlytics set up.
|
|
[log] Initializing FlutterFlowTheme...
|
|
[log] FlutterFlowTheme initialized.
|
|
[log] Initializing FFLocalizations...
|
|
[log] FFLocalizations initialized.
|
|
[log] Initializing app state...
|
|
[log] App state initialized.
|
|
[log] Initializing GoRouter...
|
|
[log] GoRouter initialized.
|
|
[GoRouter] setting initial location /
|
|
[GoRouter] Full paths for routes:
|
|
├─/
|
|
├─/homePage
|
|
├─/messageHistoryPage
|
|
├─/registerVisitorPage
|
|
├─/scheduleCompleteVisitPage
|
|
├─/scheduleProvisionalVisitPage
|
|
├─/fastPassPage
|
|
├─/preferencesSettings
|
|
├─/peopleOnThePropertyPage
|
|
├─/acessHistoryPage
|
|
├─/liberationHistory
|
|
├─/signInPage
|
|
├─/signUpPage
|
|
├─/welcomePage
|
|
├─/qrCodePage
|
|
└─/preferencesPage
|
|
known full paths for route names:
|
|
_initialize => /
|
|
homePage => /homePage
|
|
messageHistoryPage => /messageHistoryPage
|
|
registerVisitorPage => /registerVisitorPage
|
|
scheduleCompleteVisitPage => /scheduleCompleteVisitPage
|
|
scheduleProvisionalVisitPage => /scheduleProvisionalVisitPage
|
|
fastPassPage => /fastPassPage
|
|
preferencesSettings => /preferencesSettings
|
|
peopleOnThePropertyPage => /peopleOnThePropertyPage
|
|
acessHistoryPage => /acessHistoryPage
|
|
liberationHistory => /liberationHistory
|
|
signInPage => /signInPage
|
|
signUpPage => /signUpPage
|
|
welcomePage => /welcomePage
|
|
qrCodePage => /qrCodePage
|
|
preferencesPage => /preferencesPage
|
|
D/ProfileInstaller(23527): Installing profile for com.freaccess.hub
|
|
|
|
|
|
|
|
|
|
E/flutter (23527): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter_local_notifications/src/platform_flutter_local_notifications.dart': Failed assertion: line 1030 pos 12: 'callback != null': The backgroundHandler needs to be either a static function or a top
|
|
@REM /// The background handler for when the app is in the background or terminated
|
|
@REM Future<void> _evaluateBackgroundNotificationCallback() async {
|
|
@REM if (backgroundNotificationCallback != null) {
|
|
@REM final NotificationAppLaunchDetails notificationAppLaunchDetails =
|
|
@REM await _getNotificationAppLaunchDetails();
|
|
@REM await backgroundNotificationCallback!(notificationAppLaunchDetails);
|
|
@REM }
|
|
@REM }
|
|
|
|
E/flutter (23527): level function to be accessible as a Flutter entry point.
|
|
E/flutter (23527): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:50:61)
|
|
E/flutter (23527): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
|
|
E/flutter (23527): #2 _evaluateBackgroundNotificationCallback (package:flutter_local_notifications/src/platform_flutter_local_notifications.dart:1030:12)
|
|
E/flutter (23527): #3 AndroidFlutterLocalNotificationsPlugin.initialize (package:flutter_local_notifications/src/platform_flutter_local_notifications.dart:140:5)
|
|
E/flutter (23527): #4 FlutterLocalNotificationsPlugin.initialize (package:flutter_local_notifications/src/flutter_local_notifications_plugin.dart:140:13)
|
|
E/flutter (23527): #5 PushNotificationService._initializeLocalNotifications (package:hub/backend/push_notification/push_notification_service.dart:112:40)
|
|
E/flutter (23527): #6 new PushNotificationService (package:hub/backend/push_notification/push_notification_service.dart:29:5)
|
|
E/flutter (23527): #7 _MyAppState.initState.<anonymous closure> (package:hub/main.dart:98:13)
|
|
E/flutter (23527): #8 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15)
|
|
E/flutter (23527): #9 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1331:11)
|
|
E/flutter (23527): #10 SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1040:9)
|
|
E/flutter (23527): #11 PlatformDispatcher.scheduleWarmUpFrame.<anonymous closure> (dart:ui/platform_dispatcher.dart:837:16)
|
|
E/flutter (23527): #12 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
|
|
E/flutter (23527): #13 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
|
|
E/flutter (23527): #14 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
|
|
E/flutter (23527): #15 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
|
|
E/flutter (23527):
|
|
D/DecorView[](23527): onWindowFocusChanged hasWindowFocus true
|
|
[log] Context: HomePageWidget(dependencies: [InheritedCupertinoTheme, MediaQuery, _InheritedProviderScope<AppState?>, _InheritedTheme, _LocalizationsScope-[GlobalKey#e99e5]], state: _HomePageWidgetState#edcf9)
|
|
[log] Notification permissions granted
|
|
[log] User granted permission
|
|
E/flutter (23527): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
|
|
E/flutter (23527): #0 MethodChannelFirebaseMessaging.registerBackgroundMessageHandler (package:firebase_messaging_platform_interface/src/method_channel/method_channel_messaging.dart:201:53)
|
|
E/flutter (23527): #1 FirebaseMessagingPlatform.onBackgroundMessage= (package:firebase_messaging_platform_interface/src/platform_interface/platform_interface_messaging.dart:107:16)
|
|
E/flutter (23527): #2 FirebaseMessaging.onBackgroundMessage (package:firebase_messaging/src/messaging.dart:73:31)
|
|
E/flutter (23527): #3 PushNotificationService._listenToBackgroundMessages (package:hub/backend/push_notification/push_notification_service.dart:191:23)
|
|
E/flutter (23527): #4 PushNotificationService.initialize.<anonymous closure> (package:hub/backend/push_notification/push_notification_service.dart:41:7)
|
|
E/flutter (23527): #5 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15)
|
|
E/flutter (23527): #6 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1331:11)
|
|
E/flutter (23527): #7 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176:5)
|
|
E/flutter (23527): #8 _invoke (dart:ui/hooks.dart:312:13)
|
|
E/flutter (23527): #9 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:419:5)
|
|
E/flutter (23527): #10 _drawFrame (dart:ui/hooks.dart:283:31)
|
|
E/flutter (23527):
|
|
[log] Token update successful
|