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_fgbg

Detects when the Flutter app goes to the background or foreground at the app level.

pub.devRemove
ScoresHealth4164 (best)
Maintenance428 (best)
Quality100 (best)91
Popularity1086 (best)
Community41 (best)34
Compatibility79100 (best)
UsageDownloads (30 days)242142k (best)
Likes13182 (best)
Pub points160 / 160 (best)140 / 160
GitHub stars795 (best)
MaintenanceLatest release0.1.0, 2 years ago0.8.0, 8 months ago (best)
Major versions in 12 months00
Contributors16 (best)
Publisheriheb.techUnverified
FitPlatformsAndroidAndroid, iOS
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies10 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Allows adding extras and actions to determine app behavior when brought to the foreground.
  • Simple API with a single main method.
  • Avoids false positives from native container changes like FaceID prompts
  • Provides both a reactive widget and an event stream
  • Includes ignoreWhile API to bypass specific events like image picking
Weaknesses
  • Android only, does not support other platforms.
  • Subject to Android 10+ background activity start restrictions, requiring SYSTEM_ALERT_WINDOW permission.
  • Can be triggered by actions like picking an image on newer Android versions that open external apps
  • Requires a clean build after adding to integrate native code
Warnings
  • Native setup
  • Native setup
bg_launcher vs flutter_fgbg: which Flutter package should you use? | pubscout