flutter_lifecycle_guard 1.0.0-dev.1 copy "flutter_lifecycle_guard: ^1.0.0-dev.1" to clipboard
flutter_lifecycle_guard: ^1.0.0-dev.1 copied to clipboard

Reliable background execution for Flutter. Automatically manages foreground services, WorkManager, and iOS background tasks with built-in OEM battery saver evasion.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_lifecycle_guard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_lifecycle_guard: ^1.0.0-dev.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_lifecycle_guard/flutter_lifecycle_guard.dart';
1
likes
150
points
45
downloads

Publisher

verified publisherthesanaullah.dev

Weekly Downloads

Reliable background execution for Flutter. Automatically manages foreground services, WorkManager, and iOS background tasks with built-in OEM battery saver evasion.

Repository (GitHub)
View/report issues

Topics

#background-tasks #workmanager #foreground-service #lifecycle #battery-optimization

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_lifecycle_guard

Packages that implement flutter_lifecycle_guard