flutter_bluetooth_classic_serial 1.3.2
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
onDeviceDiscoveredstream 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 interfaceBluetoothConnection.toAddress()- Device connection- Device discovery and enumeration
- Data transmission and reception
- Connection state management