Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_foreground_plugin

A foreground service plugin for Flutter supporting Android.

pub.devRemove
flutter_foreground_task

Implement and manage foreground services on Android and iOS platforms.

pub.devRemove
ScoresHealth4189 (best)
Maintenance084 (best)
Quality96 (best)90
Popularity2693 (best)
Community3480 (best)
Compatibility79100 (best)
UsageDownloads (30 days)248290k (best)
Likes52584 (best)
Pub points150 / 160150 / 160
GitHub stars40184 (best)
MaintenanceLatest release0.8.0, 6 years ago11.0.3, 2 months ago (best)
Major versions in 12 months0 (best)2
Contributors624 (best)
PublisherUnverifiedpravera.me
FitPlatformsAndroidAndroid, iOS
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies0 (best)3
LicenseMITMIT
Setup effortMediumHigh
JudgementStrengths
  • Supports null safety for Flutter 2.0+
  • Provides start and stop callbacks
  • Supports two-way communication between the background task and the main UI
  • Provides options to automatically resume the foreground service on boot or package update
  • Includes utilities for handling battery optimizations and notifications
Weaknesses
  • Does not support iOS yet
  • Cannot change notification level
  • Requires manual configuration of platform-specific permissions, Gradle files, and Android Manifest services
  • iOS background execution is heavily limited by the operating system
Warnings
  • Native setup
  • Native setup
flutter_foreground_plugin vs flutter_foreground_task: which Flutter package should you use? | pubscout