Open apomalyn opened 5 months ago
Initialize the application to support local notification. Implement a NotificationService singleton, in this service implement:
NotificationService
Add the flutter_local_notification plugin
Follow the setup for each platform:
Create a NotificationsService service under src/core/services, that:
NotificationsService
src/core/services
checkPermission()
askPermission()
Child of #202
Requirements
Initialize the application to support local notification. Implement a
NotificationService
singleton, in this service implement:What needs to be done
Add the flutter_local_notification plugin
Follow the setup for each platform:
Create a
NotificationsService
service undersrc/core/services
, that:checkPermission()
: validates if the application can push notificationaskPermission()
: handle the notification permission based on the platformDependencies
Child of #202
Dev notes