Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_ble_peripheral

Set a device into BLE peripheral mode and advertise custom services.

pub.devRemove
flutter_foreground_task

Implement and manage foreground services on Android and iOS platforms.

pub.devRemove
ScoresHealth8689 (best)
Maintenance94 (best)84
Quality97 (best)90
Popularity5893 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)6.3k290k (best)
Likes64584 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars92184 (best)
MaintenanceLatest release3.2.0, 3 weeks ago (best)11.0.3, 2 months ago
Major versions in 12 months1 (best)2
Contributors824 (best)
Publishersteenbakker.devpravera.me
FitPlatformsAndroid, iOS, Windows, macOSAndroid, iOS
WASM-readyNoNo
KindPlugin (native code)Plugin (native code)
Code generationYesNo
Direct dependencies1 (best)3
LicenseBSD-3-CLAUSEMIT
Setup effortMediumHigh
JudgementStrengths
  • Cross-platform support for Android, iOS, macOS, and Windows.
  • Includes GATT server capabilities with custom characteristics.
  • Handles background advertising on supported platforms.
  • 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
Weaknesses
  • Platform limitations restrict certain advertisement fields on iOS and macOS.
  • Requires native permission configurations for Bluetooth and location.
  • Requires manual configuration of platform-specific permissions, Gradle files, and Android Manifest services
  • iOS background execution is heavily limited by the operating system
Warnings
  • Native setup
  • Native setup
flutter_ble_peripheral vs flutter_foreground_task: which Flutter package should you use? | pubscout