From ee594d8edaafc3b2eddcdd544b2c0d381909dfc1 Mon Sep 17 00:00:00 2001 From: Malte2036 Date: Wed, 29 May 2024 14:50:03 +0200 Subject: [PATCH] :memo: Add more information on ios getDeviceDataTypeWithoutConnecting function --- lib/flutter_ftms.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/flutter_ftms.dart b/lib/flutter_ftms.dart index 9ed8ab5..b812296 100644 --- a/lib/flutter_ftms.dart +++ b/lib/flutter_ftms.dart @@ -156,6 +156,8 @@ class FTMS { } /// @limitation: This function will not work on ios, because "For privacy, iOS & macOS use a randomly generated uuid." (https://github.com/Malte2036/flutter_ftms/issues/14). + /// + /// On iOS use [getDeviceDataType] after connecting to the device instead. static DeviceDataType? getDeviceDataTypeWithoutConnecting( BluetoothDevice device) { return FTMSBluetooth.getDeviceDataTypeByBluetoothId(device.remoteId.str);