diff --git a/lib/service/notification_service.dart b/lib/service/notification_service.dart index 5b6ffb68..60941c6f 100644 --- a/lib/service/notification_service.dart +++ b/lib/service/notification_service.dart @@ -92,7 +92,8 @@ class NotificationService { localNotifications.resolvePlatformSpecificImplementation< AndroidFlutterLocalNotificationsPlugin>(); - return await androidImplementation?.requestPermission() ?? false; + return await androidImplementation?.requestNotificationsPermission() ?? + false; } return false;