Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_fgbg

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

pub.devRemove
safe_device

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

pub.devRemove
ScoresHealth6487 (best)
Maintenance2878 (best)
Quality9191
Popularity8690 (best)
Community3480 (best)
Compatibility100100
UsageDownloads (30 days)142k150k (best)
Likes182386 (best)
Pub points140 / 160140 / 160
GitHub stars95 (best)60
MaintenanceLatest release0.8.0, 8 months ago1.4.1, 5 months ago (best)
Major versions in 12 months00
Contributors610 (best)
PublisherUnverifiedufuksahin.dev
FitPlatformsAndroid, iOSAndroid, iOS
WASM-readyNoNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • 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
  • Broad detection of jailbreak, root and many Android emulators
  • Configurable at startup to disable mock‑location checks
  • Detailed breakdown methods for debugging
Weaknesses
  • 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
  • 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_fgbg vs safe_device: which Flutter package should you use? | pubscout