Skip to content

Commit

Permalink
Merge pull request #1 from PhilipsHue/master
Browse files Browse the repository at this point in the history
sync
  • Loading branch information
biii-anuj-pathak authored Oct 16, 2022
2 parents 2914abe + 4b5ed35 commit 3cf8748
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,5 @@ This will prevent issues like [#147](https://github.com/PhilipsHue/flutter_react

#### Unofficial example apps

Example implementation UART over BLE:[link](https://github.com/wolfc01/flutter_reactive_ble_uart_example)
- Example implementation UART over BLE:[link](https://github.com/wolfc01/flutter_reactive_ble_uart_example)
- Example implementation subscription to characteristic using StreamProvider: [link](https://github.com/ubiqueIoT/flutter-reactive-ble-example)
2 changes: 1 addition & 1 deletion packages/reactive_ble_mobile/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protobuf {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.polidea.rxandroidble2:rxandroidble:1.13.0'
implementation 'com.polidea.rxandroidble2:rxandroidble:1.16.0'
implementation 'com.google.protobuf:protobuf-javalite:3.18.1'
implementation 'io.reactivex.rxjava2:rxkotlin:2.4.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ open class ReactiveBleClient(private val context: Context) : BleClient {
return rxBleClient.scanBleDevices(
ScanSettings.Builder()
.setScanMode(scanMode.toScanSettings())
.setLegacy(false)
.setCallbackType(ScanSettings.CALLBACK_TYPE_ALL_MATCHES)
.setShouldCheckLocationServicesState(requireLocationServicesEnabled)
.build(),
Expand Down

0 comments on commit 3cf8748

Please sign in to comment.