17414656a9
- Updated README.md to reflect platform support for iPadOS. - Implemented isDriverAvailable method in FlutterUsbSerialPlugin for DriverKit readiness check. - Added DriverKitSerialClient C source and header files for iPadOS integration. - Created Swift Package for iPadOS support. - Updated pubspec.yaml and flutter_usb_serial.dart to clarify platform compatibility. - Enhanced tests to verify isDriverAvailable functionality. Signed-off-by: Tony <tonylu@tony-cloud.com>
15 lines
461 B
Dart
15 lines
461 B
Dart
/// Flutter plugin for USB serial communication on Android and iPadOS.
|
|
///
|
|
/// Uses `usb-serial-for-android` (https://github.com/mik3y/usb-serial-for-android)
|
|
/// as the underlying Android library. iPadOS uses an app-embedded DriverKit
|
|
/// extension supplied by the host application.
|
|
library;
|
|
|
|
import 'dart:async';
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
part 'src/usb_serial_device.dart';
|
|
part 'src/usb_serial_port.dart';
|
|
part 'src/flutter_usb_serial.dart';
|