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
screen_state

Tracks screen state events on Android and iOS.

pub.devRemove
ScoresHealth4181 (best)
Maintenance480 (best)
Quality100 (best)97
Popularity1053 (best)
Community4180 (best)
Compatibility79100 (best)
UsageDownloads (30 days)2426.2k (best)
Likes1340 (best)
Pub points160 / 160160 / 160
GitHub stars7610 (best)
MaintenanceLatest release0.1.0, 2 years ago5.0.2, 4 months ago (best)
Major versions in 12 months0 (best)1
Contributors193 (best)
Publisheriheb.techcachet.dk
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.
  • Provides a simple stream-based API for screen events.
  • Supports both Android and iOS platforms.
Weaknesses
  • Android only, does not support other platforms.
  • Subject to Android 10+ background activity start restrictions, requiring SYSTEM_ALERT_WINDOW permission.
  • iOS detection has specific limitations such as requiring passcodes for unlock events and not working in the simulator.
  • Low brightness settings on iOS may erroneously generate screen on events.
Warnings
  • Native setup
  • Native setup
bg_launcher vs screen_state: which Flutter package should you use? | pubscout