Skip to content

Commit

Permalink
📝 Add more information on ios getDeviceDataTypeWithoutConnecting func…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Malte2036 committed May 29, 2024
1 parent 8fc774c commit ee594d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/flutter_ftms.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ee594d8

Please sign in to comment.