serialport_for_msp 0.5.0+3
serialport_for_msp: ^0.5.0+3 copied to clipboard
Fork of flutter_libserialport 0.5.0 migrated to the Flutter v2 plugin embedding (no Registrar), minSdk 21 and compileSdk 35. Published temporarily for MSP-based apps that need a working serial-port pl [...]
serialport_for_msp #
Fork of
flutter_libserialport
v0.5.0
(original work © J-P Nurmi & contributors — MIT license, seeLICENSE
)
This package is a minimal, stop-gap fork created solely to unblock one of my
own projects (an MSP-based UAV app) after upgrading to Flutter 3.24 / AGP 8.4.
Nothing has been “stolen” or re-branded — the code and license remain intact.
As soon as the upstream package ships a version with the same fixes, this fork
will be marked discontinued and my project will switch back to the official
flutter_libserialport
.
What’s different from upstream #
Change | Why |
---|---|
Migrated to v2 plugin embedding (dropped PluginRegistry.Registrar ) |
Registrar was removed from the engine in Flutter 3.24 |
minSdkVersion → 21 |
Required by the current NDK |
compileSdk/targetSdk → 35 |
Required by androidx.core:core-ktx:1.15.0 and other recent libs |
Added namespace "org.sigrok.flutter_libserialport" |
AGP 7.3+ requirement |
Package renamed to serialport_for_msp |
Avoid conflicts with the official name |
No Dart API changes — swap the import and everything works:
import 'package:serialport_for_msp/serialport_for_msp.dart';
Supported platforms #
- Linux
- macOS
- Windows
- Android
(same set as the original package)
Installation #
dependencies:
serialport_for_msp: ^0.5.0+1