offline_sms 1.0.0 copy "offline_sms: ^1.0.0" to clipboard
offline_sms: ^1.0.0 copied to clipboard

A Flutter package for peer-to-peer messaging via Bluetooth Low Energy (BLE) without internet connection.

Changelog #

1.0.0 - 2024-01-01 #

Added #

  • Initial release of Offline SMS package
  • Bluetooth Low Energy (BLE) device discovery
  • Peer-to-peer messaging functionality
  • Cross-platform support for Android and iOS
  • Automatic permission handling
  • Real-time connection state monitoring
  • Stream-based architecture for UI integration
  • Comprehensive error handling and recovery
  • Debug logging for development and troubleshooting

Features #

  • Device discovery and scanning
  • Secure BLE connections
  • Real-time message sending and receiving
  • Connection state tracking
  • Message history with timestamps
  • Device information display (name, RSSI, connection status)
  • Automatic permission requests for Bluetooth and location

Technical Details #

  • Uses flutter_blue_plus for BLE functionality
  • Implements custom service and characteristic UUIDs
  • JSON-based message serialization
  • UUID-based device and message identification
  • Stream-based event handling
  • Comprehensive error management

Platform Support #

  • Android: Full support with location permissions
  • iOS: Full support using CoreBluetooth framework
  • Web: Not supported (BLE not available in browsers)
  • Desktop: Limited (requires platform-specific implementation)
1
likes
150
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for peer-to-peer messaging via Bluetooth Low Energy (BLE) without internet connection.

Repository (GitHub)
View/report issues

Topics

#bluetooth #ble #messaging #offline #peer-to-peer

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, flutter_blue_plus, permission_handler, uuid

More

Packages that depend on offline_sms

Packages that implement offline_sms