android_foreground_service library

Provides mechanisms to start and stop an Android foreground service, while utilizing awesome_notifications.dart NotificationModel.

Classes

AndroidForegroundService
Static helper class that provides methods to start and stop a foreground service.
AndroidForegroundServiceConstants
Static helper class that contains all relevant Android foreground service related constants.

Enums

ForegroundServiceType
Determines the nature of the service (Also needs to be declared inside AndroidManifest.xml)
ForegroundStartMode
Determines to operational system how it should behaves in case of get terminated