From 86fc1adb81bc006e98a6331782109243eeff42fe Mon Sep 17 00:00:00 2001 From: Taksh Date: Sun, 11 Oct 2026 06:54:15 +0530 Subject: [PATCH 1/3] drop notify-on-connect options from queued BLE connects Those keys are what raises the lock-screen accessory prompt that names the app. --- bitchat/Services/BLE/BLERadioController.swift | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bitchat/Services/BLE/BLERadioController.swift b/bitchat/Services/BLE/BLERadioController.swift index cf9d6c2d..26eeb927 100644 --- a/bitchat/Services/BLE/BLERadioController.swift +++ b/bitchat/Services/BLE/BLERadioController.swift @@ -233,12 +233,10 @@ final class BLERadioController { let peripheralID = candidate.peripheralID linkStateStore.beginConnecting(to: peripheral, at: Date()) peripheral.delegate = peripheralDelegate - let options: [String: Any] = [ - CBConnectPeripheralOptionNotifyOnConnectionKey: true, - CBConnectPeripheralOptionNotifyOnDisconnectionKey: true, - CBConnectPeripheralOptionNotifyOnNotificationKey: true - ] - central.connect(peripheral, options: options) + // No CBConnectPeripheralOptionNotifyOn* keys. Those options are what + // makes iOS raise the lock-screen "accessory would like to open + // bitchat" prompt, and accepting it names the app. + central.connect(peripheral, options: nil) scheduler.recordConnectionAttempt(at: Date()) SecureLogger.debug("\(logPrefix): \(candidate.name) [RSSI:\(candidate.rssi)]", category: .session) From 93247de82992fcdabe9e8810530733f6f251444c Mon Sep 17 00:00:00 2001 From: Taksh Date: Sun, 11 Oct 2026 06:54:16 +0530 Subject: [PATCH 2/3] drop notify-on-connect options from background pending connects The wake-on-proximity arm path was the other place those options were passed. --- bitchat/Services/BLE/BLERadioController.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bitchat/Services/BLE/BLERadioController.swift b/bitchat/Services/BLE/BLERadioController.swift index 26eeb927..46bdf789 100644 --- a/bitchat/Services/BLE/BLERadioController.swift +++ b/bitchat/Services/BLE/BLERadioController.swift @@ -343,11 +343,7 @@ final class BLERadioController { for: target.peripheralID ) target.peripheral.delegate = self.peripheralDelegate - central.connect(target.peripheral, options: [ - CBConnectPeripheralOptionNotifyOnConnectionKey: true, - CBConnectPeripheralOptionNotifyOnDisconnectionKey: true, - CBConnectPeripheralOptionNotifyOnNotificationKey: true - ]) + central.connect(target.peripheral, options: nil) } SecureLogger.info("🌙 Armed \(targets.count) pending background connect(s) for wake-on-proximity", category: .session) } From bbd58161bf4a0a597d20f776c3603824057c95dd Mon Sep 17 00:00:00 2001 From: Taksh Date: Sun, 11 Oct 2026 06:54:16 +0530 Subject: [PATCH 3/3] say people instead of users in the Bluetooth usage strings House copy never says user, and these two lines were the ones still doing it. --- bitchat/Info.plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitchat/Info.plist b/bitchat/Info.plist index 57ddfa11..60c9fa53 100644 --- a/bitchat/Info.plist +++ b/bitchat/Info.plist @@ -36,9 +36,9 @@ LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSBluetoothAlwaysUsageDescription - bitchat uses Bluetooth to create a secure mesh network for chatting with nearby users. + bitchat uses Bluetooth to create a secure mesh network for chatting with nearby people. NSBluetoothPeripheralUsageDescription - bitchat uses Bluetooth to discover and connect with other bitchat users nearby. + bitchat uses Bluetooth to discover and connect with other people nearby. NSCameraUsageDescription bitchat uses the camera to scan QR codes to verify peers. NSLocationWhenInUseUsageDescription