Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_lifecycle_detector

A Flutter plugin to detect when the app enters background or foreground mode.

pub.devRemove
safe_device

Detect jailbreak/root, emulator, mock location and other safety flags on iOS/Android devices.

pub.devRemove
ScoresHealth4687 (best)
Maintenance478 (best)
Quality9191
Popularity2790 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)2.7k148k (best)
Likes9386 (best)
Pub points140 / 160140 / 160
GitHub stars060 (best)
MaintenanceLatest release0.0.8, 2 years ago1.4.1, 4 months ago (best)
Major versions in 12 months00
Contributors110 (best)
Publisherngovang.comufuksahin.dev
FitPlatformsAndroid, iOSAndroid, iOS
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Simple stream-based API for monitoring background and foreground transitions.
  • Easy integration with minimal boilerplate code.
  • Broad detection of jailbreak, root and many Android emulators
  • Configurable at startup to disable mock‑location checks
  • Detailed breakdown methods for debugging
Weaknesses
  • Limited platform support (only Android and iOS).
  • Minimal documentation and features beyond basic detection.
  • May produce false positives on some manufacturers
  • Requires location permission on Android for mock‑location detection
  • iOS mock‑location detection relies on jailbreak/emulator status
Warnings
  • Native setup
  • Native setup
flutter_lifecycle_detector vs safe_device: which Flutter package should you use? | pubscout