Skip to content
pubscout

flutter_beacon

0.5.1, released 5 years ago by cubeacon.com

Flutter plugin for scanning and transmitting as an iBeacon on Android and iOS.

Quiet but busy
$ flutter pub add flutter_beacon
Source repository

What it does

Allows Flutter apps to scan, range, monitor, and transmit iBeacons on Android and iOS devices. It provides reactive stream APIs for ranging and monitoring beacon regions.

AI-written summary of version 0.5.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need proximity-based indoor positioning using iBeacons.
  • Your app needs to transmit as an iBeacon.
  • You need to monitor and range beacon regions on iOS and Android.

Skip it when

  • You only need general Bluetooth Low Energy (BLE) peripheral/central communication without iBeacon specifics.
  • You are developing for platforms other than Android and iOS.

Strengths

  • Supports both scanning/ranging and broadcasting as a beacon.
  • Reactive stream APIs for easy event listening.
  • Automatic permission management features.

Weaknesses

  • Requires manual configuration of location and bluetooth permissions for Android and iOS.
  • Bluetooth on iOS simulator is disabled, requiring physical devices for testing.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Requires adding location and bluetooth permissions in AndroidManifest.xml and Info.plist, and testing on physical devices.

final regions = <Region>[];
regions.add(Region(identifier: 'com.beacon'));
_streamRanging = flutterBeacon.ranging(regions).listen((RangingResult result) {});