flutter_bluetooth_classic_serial 1.3.2 copy "flutter_bluetooth_classic_serial: ^1.3.2" to clipboard
flutter_bluetooth_classic_serial: ^1.3.2 copied to clipboard

A Flutter plugin for Bluetooth Classic communication on Android, iOS, macOS, Linux, and Windows platforms. Supports device discovery, connection management, and data transmission.

1.3.2 #

Bug Fixes #

  • πŸ› οΈ iOS Plugin Registration: Fixed Swift plugin class name references in pubspec.yaml for proper iOS builds
  • πŸ› οΈ macOS Plugin Registration: Fixed Swift plugin class name references in pubspec.yaml for proper macOS builds
  • πŸ“± Cross-Platform Compatibility: Ensured consistent plugin registration across all supported platforms

1.3.1 #

Maintenance #

  • πŸ“š Documentation Updates: Updated README with comprehensive platform support information
  • πŸ”§ Version Alignment: Synchronized version numbers across documentation and package files

1.3.0 #

Features #

  • 🐧 Linux Support: Added complete Bluetooth Classic support for Linux platform
  • πŸ”§ BlueZ Integration: Implemented native Linux Bluetooth Classic communication using BlueZ stack
  • πŸ“± Cross-platform Expansion: Extended plugin support to Android, iOS, macOS, Linux, and Windows platforms
  • πŸ”„ RFCOMM Communication: Added RFCOMM socket-based serial communication for Linux

Technical Improvements #

  • πŸ—οΈ Platform Architecture: Created Linux-specific C++ implementation with HCI and RFCOMM support
  • πŸ”„ Unified API: Maintained consistent API across all supported platforms
  • πŸ“¦ Plugin Registration: Updated Linux plugin registration and build configuration
  • 🧡 Threading: Implemented proper threading for Bluetooth data reception on Linux

1.2.0 #

Features #

  • 🍎 macOS Support: Added complete Bluetooth Classic support for macOS platform
  • πŸ”§ IOBluetooth Integration: Implemented native macOS Bluetooth Classic communication using IOBluetooth framework
  • πŸ“± Cross-platform Expansion: Extended plugin support to Android, iOS, macOS, and Windows platforms
  • πŸ” macOS Permissions: Added Bluetooth usage description for proper macOS app permissions

Technical Improvements #

  • πŸ—οΈ Platform Architecture: Created macOS-specific Swift implementation with RFCOMM channel support
  • πŸ”„ Unified API: Maintained consistent API across all supported platforms
  • πŸ“¦ Plugin Registration: Updated macOS plugin registration and configuration

1.1.1 #

Bug Fixes #

  • πŸ”§ Fixed sendData Type Casting: Resolved "byte[] cannot be cast to java.util.List" runtime errors in Android
  • πŸ“± Enhanced iOS Data Handling: Improved sendData method to handle multiple input types (List
  • πŸͺŸ Windows Build Fixes: Corrected CMake target naming and include path issues for Windows plugin
  • πŸ”„ Cross-platform Type Safety: Implemented robust type checking and conversion in all platform implementations
  • πŸ“‘ UTF-8 Serialization: Fixed sendString method to use explicit List

Technical Improvements #

  • πŸ›‘οΈ Defensive Programming: Added type validation in sendData methods across all platforms
  • πŸ”§ Platform Channel Compatibility: Ensured consistent data type handling between Dart and native platforms

1.1.0 #

Features #

  • ✨ Complete Device Discovery: Added getDiscoveredDevices() method to retrieve devices found during discovery
  • πŸ” Real-time Discovery Events: Added onDeviceDiscovered stream for live device discovery notifications
  • πŸ“± Enhanced Example App: Updated example to display discovered devices alongside paired devices
  • πŸ”„ Discovery Session Management: Clear discovered devices list when starting new discovery session
  • πŸ›‘οΈ Duplicate Prevention: Prevent duplicate devices in discovery results

Technical Improvements #

  • πŸ“‘ Cross-platform Discovery: Implemented device discovery storage in both Android and iOS plugins
  • πŸ”§ Event Channel Enhancement: Modified state channel to handle device discovery events separately
  • πŸ—οΈ API Consistency: Added discovery methods to platform interface for consistent cross-platform behavior

1.0.4 #

Bug Fixes #

  • πŸ“± Added missing iOS podspec file to fix CocoaPods integration
  • πŸ”§ Fixed "No podspec found for flutter_bluetooth_classic_serial" error
  • πŸ“¦ Configured iOS podspec with proper Swift 5.0 and iOS 11.0+ support
  • πŸ—οΈ Improved package structure for better cross-platform compatibility

1.0.3 #

Bug Fixes #

  • πŸ”§ Fixed MissingPluginException errors by correcting channel name mismatches
  • βœ… Updated Android, iOS, and Windows plugin implementations with proper channel names
  • πŸ› οΈ Fixed Android Bluetooth permissions in plugin manifest
  • πŸ“± Created working example app with comprehensive Bluetooth demo
  • πŸ” Fixed API usage in example to match singleton pattern
  • ⚑ Improved error handling and user feedback in example app
  • 🎯 Added support for Android 12+ Bluetooth permissions

1.0.1 #

Bug Fixes #

  • βœ… Updated repository URLs to correct GitHub location
  • βœ… Improved package metadata for pub.flutter-io.cn publication
  • βœ… Removed unsupported web platform references
  • πŸ”§ Updated Android package structure for better compatibility

1.0.0 #

Features #

  • ✨ Initial release of Flutter Bluetooth Classic plugin
  • πŸ” Device discovery and pairing
  • πŸ”— Connection management for Android, iOS, and Windows
  • πŸ“‘ Bidirectional data transmission
  • πŸ“± Multi-platform support (Android, iOS, Windows)
  • πŸ”„ Real-time data streaming
  • πŸ›‘οΈ Robust error handling and connection management

Platform Support #

  • βœ… Android: Full Bluetooth Classic support
  • βœ… iOS: MFi accessory framework integration
  • βœ… Windows: Native Windows Bluetooth API integration

API #

  • FlutterBluetoothClassic.instance - Main plugin interface
  • BluetoothConnection.toAddress() - Device connection
  • Device discovery and enumeration
  • Data transmission and reception
  • Connection state management
4
likes
150
points
335
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for Bluetooth Classic communication on Android, iOS, macOS, Linux, and Windows platforms. Supports device discovery, connection management, and data transmission.

Homepage
Repository (GitHub)
View/report issues

Topics

#bluetooth #bluetooth-classic #communication #serial #connectivity

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_bluetooth_classic_serial

Packages that implement flutter_bluetooth_classic_serial