This is a fork of the flutter_background_service package, originally created by ekasetiawans. The original package provides a framework for running background services in Flutter applications.
Currently, the following changes have been made to the original package to better suit the needs of OpenHIIT:
- Removed autostart on boot for Android.
- Automatically stop the background service on app close for Android.
OpenHIIT Background Service offers functionality tailored specifically for the interval timer apps. If you're looking for a background service solution for your Flutter app, give OpenHIIT Background Service a try!
To use OpenHIIT Background Service in your Flutter project, follow these steps:
-
Add the following to your
pubspec.yaml
file:dependencies: openhiit_background_service: git: url: https://github.com/a-mabe/openhiit_background_service.git
-
Run
flutter pub get
to install the package. -
Import the package in your Dart code:
import 'package:openhiit_background_service/openhiit_background_service.dart';
-
Follow the original flutter_background_service documentation for additional usage instructions.
If you have any feedback or would like to contribute to OpenHIIT Background Service, please feel free to open an issue or submit a pull request on GitHub.