Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebg_launcher

A flutter plugin that brings an in-background android app to the foreground.

pub.devRemove
flutter_foreground_task

Implement and manage foreground services on Android and iOS platforms.

pub.devRemove
ScoresHealth4189 (best)
Maintenance483 (best)
Quality100 (best)90
Popularity1093 (best)
Community4180 (best)
Compatibility79100 (best)
UsageDownloads (30 days)242291k (best)
Likes13584 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars7184 (best)
MaintenanceLatest release0.1.0, 2 years ago11.0.3, 2 months ago (best)
Major versions in 12 months0 (best)2
Contributors124 (best)
Publisheriheb.techpravera.me
FitPlatformsAndroidAndroid, iOS
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies1 (best)3
LicenseMITMIT
Setup effortLowHigh
JudgementStrengths
  • Allows adding extras and actions to determine app behavior when brought to the foreground.
  • Simple API with a single main method.
  • 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
  • Android only, does not support other platforms.
  • Subject to Android 10+ background activity start restrictions, requiring SYSTEM_ALERT_WINDOW permission.
  • 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
bg_launcher vs flutter_foreground_task: which Flutter package should you use? | pubscout