From f9629dd5f4185467113d033e6b1eb96ad867e070 Mon Sep 17 00:00:00 2001 From: Travis Wyatt Date: Mon, 23 Sep 2024 00:43:11 -0700 Subject: [PATCH] Have `allowDuplicateKeys` default to `true` --- kable-core/src/appleMain/kotlin/ScannerBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kable-core/src/appleMain/kotlin/ScannerBuilder.kt b/kable-core/src/appleMain/kotlin/ScannerBuilder.kt index 7ad496251..71000b747 100644 --- a/kable-core/src/appleMain/kotlin/ScannerBuilder.kt +++ b/kable-core/src/appleMain/kotlin/ScannerBuilder.kt @@ -25,7 +25,7 @@ public actual class ScannerBuilder { * Specifies whether the scan should run without duplicate filtering. This corresponds to * Core Bluetooth's [CBCentralManagerScanOptionAllowDuplicatesKey] scanning option. */ - public var allowDuplicateKeys: Boolean? = null + public var allowDuplicateKeys: Boolean? = true /** * Causes the scanner to scan for peripherals soliciting any of the services contained in the