diff --git a/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp b/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp index 1978713b..63728d4d 100644 --- a/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp +++ b/libnymea-app-core/wifisetup/bluetoothdiscovery.cpp @@ -59,6 +59,10 @@ BluetoothDiscovery::BluetoothDiscovery(QObject *parent) : m_discoveryAgent = new QBluetoothDeviceDiscoveryAgent(m_localDevice->address(), this); #else + // Note: on iOS there is no QBluetoothLocalDevice available, therefore we have ti assume there is one and + // start the discovery agent with the default constructor. + // https://bugreports.qt.io/browse/QTBUG-65547 + setBluetoothAvailable(true); m_discoveryAgent = new QBluetoothDeviceDiscoveryAgent(this); #endif