static Future<bool> stopDiscovery() async { try { return await _platform.stopDiscovery(); } catch (e) { if (kDebugMode) print('Error stopping discovery: $e'); return false; } }