Scan for BLE peripherals advertising the services specified in [withServices] or for all BLE peripherals, if no services is specified. It is recommended to always specify some services.
There are two Android specific parameters that are ignored on iOS:
[scanMode] allows to choose between different levels of power efficient and/or low latency scan modes.
[requireLocationServicesEnabled] specifies whether to check if location services are enabled before scanning. When set to true and location services are disabled, an exception is thrown. Default is true. Setting the value to false can result in not finding BLE peripherals on some Android devices.
https://github.com/PhilipsHue/flutter_reactive_ble https://github.com/PhilipsHue/flutter_reactive_ble/issues/87 docs
flutter_reactive_ble README for android
Scan for BLE peripherals advertising the services specified in [withServices] or for all BLE peripherals, if no services is specified. It is recommended to always specify some services.
There are two Android specific parameters that are ignored on iOS:
[scanMode] allows to choose between different levels of power efficient and/or low latency scan modes. [requireLocationServicesEnabled] specifies whether to check if location services are enabled before scanning. When set to true and location services are disabled, an exception is thrown. Default is true. Setting the value to false can result in not finding BLE peripherals on some Android devices.