Skip to main content

background_doctor 0.1.1 copy "background_doctor: ^0.1.1" to clipboard
background_doctor: ^0.1.1 copied to clipboard

Finds out why a Flutter app doesn't run in the background and why it closed: battery optimization, standby bucket, vendor autostart, exit reasons.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add background_doctor

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

dependencies:
  background_doctor: ^0.1.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:background_doctor/background_doctor.dart';
0
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publisherabdurrahmankaraoglu.com

Weekly Downloads

Finds out why a Flutter app doesn't run in the background and why it closed: battery optimization, standby bucket, vendor autostart, exit reasons.

Repository (GitHub)
View/report issues

Topics

#background #battery #diagnostics #android #crash

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on background_doctor

Packages that implement background_doctor