
The initWithDelegate calls are not available on tvOS, watchOS and visionOS for some reason (the CBCentralManager equivalents are). Switch to calling init and manually setting the `delegate` property immediately afterwards; we were already using the main dispatch queue in the `queue` parameter anyway, so this should not have any visible side-effect. Bug: 391914246 Change-Id: Ic5d023bb96cfe3ba83dcc9d08c84f8ef5250e87a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6312737 Commit-Queue: Raphael Kubo da Costa <kubo@igalia.com> Reviewed-by: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/main@{#1426624}