Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_foreground_task

Implement and manage foreground services on Android and iOS platforms.

pub.devRemove
google_huawei_availability

Detect Google Play Services and Huawei HMS Services availability on Android devices.

pub.devRemove
ScoresHealth89 (best)39
Maintenance84 (best)0
Quality90100 (best)
Popularity93 (best)27
Community80 (best)11
Compatibility100 (best)79
UsageDownloads (30 days)290k (best)1.3k
Likes584 (best)18
Pub points150 / 160160 / 160 (best)
GitHub stars184 (best)0
MaintenanceLatest release11.0.3, 2 months ago (best)1.4.0, 5 years ago
Major versions in 12 months20 (best)
Contributors24 (best)2
Publisherpravera.meUnverified
FitPlatformsAndroid, iOSAndroid
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies30 (best)
LicenseMITMIT
Setup effortHighLow
JudgementStrengths
  • 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
  • Simple and straightforward API for checking Google and Huawei services
  • Helps identify Huawei devices easily
Weaknesses
  • Requires manual configuration of platform-specific permissions, Gradle files, and Android Manifest services
  • iOS background execution is heavily limited by the operating system
  • Limited functionality restricted only to service availability checks
  • Only works on Android devices
Warnings
  • Native setup
  • Native setup
flutter_foreground_task vs google_huawei_availability: which Flutter package should you use? | pubscout