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.dev 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
459
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