Skip to content

CBCentralManager.ScanForPeripherals: peripheralUuids should be nullable #22610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
softlion opened this issue Apr 12, 2025 · 1 comment · Fixed by #22630
Closed

CBCentralManager.ScanForPeripherals: peripheralUuids should be nullable #22610

softlion opened this issue Apr 12, 2025 · 1 comment · Fixed by #22630
Milestone

Comments

@softlion
Copy link

softlion commented Apr 12, 2025

Apple platform

iOS

Framework version

net9.0-*

Affected platform version

all

Description

CBCentralManager.ScanForPeripherals: peripheralUuids is not nullable.

But according to the apple doc, it can be null:
https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/scanforperipherals(withservices:options:)

.NET source:

public void ScanForPeripherals (CBUUID [] peripheralUuids, PeripheralScanningOptions? options = null)

Steps to Reproduce

It is an API definition, there is nothing to repro.

Did you find any workaround?

yes, use "null!".

Relevant log output

No response

@rolfbjarne
Copy link
Member

Confirmed; fix is in progress.

@rolfbjarne rolfbjarne added this to the Future milestone Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants