serialport_for_msp

Fork of flutter_libserialport v0.5.0
(original work © J-P Nurmi & contributors — MIT license, see LICENSE)

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
minSdkVersion21 Required by the current NDK
compileSdk/targetSdk35 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

Libraries

serialport_for_msp