Enhance USB serial plugin for Android and iPadOS with DriverKit support
- 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>
This commit is contained in:
+3
-1
@@ -1,5 +1,5 @@
|
||||
name: flutter_usb_serial
|
||||
description: "Flutter plugin for USB serial communication on Android using usb-serial-for-android."
|
||||
description: "Flutter USB serial plugin for Android and iPadOS DriverKit."
|
||||
version: 0.1.0
|
||||
|
||||
environment:
|
||||
@@ -22,3 +22,5 @@ flutter:
|
||||
android:
|
||||
package: com.dalimaster.flutter_usb_serial
|
||||
pluginClass: FlutterUsbSerialPlugin
|
||||
ios:
|
||||
pluginClass: FlutterUsbSerialPlugin
|
||||
|
||||
Reference in New Issue
Block a user