sms_composer_sheet 1.0.3 copy "sms_composer_sheet: ^1.0.3" to clipboard
sms_composer_sheet: ^1.0.3 copied to clipboard

A Flutter plugin for native SMS composer with beautiful bottom sheet UI. Supports iOS and Android with haptic feedback and error handling.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.3 - 2025-01-07 #

Added #

  • showWithPermission() - Recommended method with automatic Android permission handling
  • showNative() - Always uses platform native SMS implementation
  • showCustom() - Custom UI with optional bottom sheet builder
  • Enhanced show() with useCustomBottomSheet and bottomSheetBuilder parameters

1.0.1 - 2025-11-05 #

Fixed #

  • πŸ”§ Pub.dev compliance: Fixed package description length to meet pub.flutter-io.cn requirements (60-180 characters)
  • πŸ”§ Documentation URL: Removed non-existent documentation URL until package is published
  • πŸ”§ Code formatting: Applied dart format to all Dart files for consistent formatting
  • πŸ”§ Lint warnings: Addressed BuildContext async gap warnings with proper ignore comments
  • πŸ”§ Package validation: Ensured all pub.flutter-io.cn validation requirements are met

Improved #

  • πŸ“¦ Package metadata: Added topics for better discoverability on pub.flutter-io.cn
  • πŸ“ Code quality: Enhanced code formatting and documentation consistency

1.0.0 - 2025-11-05 #

Added #

  • πŸŽ‰ Initial release of SMS Composer Sheet plugin
  • πŸ“± Cross-platform SMS composer with unified API for iOS and Android
  • 🍎 iOS native implementation using MFMessageComposeViewController
  • πŸ€– Android in-app bottom sheet composer (when context provided)
  • πŸ€– Android fallback to system SMS app (when context not provided)
  • βœ… Success notifications with automatic snackbar display
  • ❌ Comprehensive error handling with detailed error messages
  • πŸ“Š Character counter with real-time updates and multi-SMS indicators
  • πŸ“³ Haptic feedback for success and error states
  • πŸ” Automatic permission handling with system dialog requests (Android)
  • πŸ” Permission status checking with detailed user guidance
  • πŸ” Manual permission request with user-friendly dialog prompts
  • πŸ“ž Multiple recipients support
  • πŸ“ Pre-filled message body support
  • πŸ” SMS capability detection across platforms
  • πŸ“ Long message support with automatic splitting (Android)
  • 🎨 Material Design bottom sheet with iOS-like styling
  • ⚑ Loading states with progress indicators
  • πŸ›‘οΈ Input validation with meaningful error messages

Features #

  • SmsComposerSheet.show() - Display SMS composer with bottom sheet UI
  • SmsComposerSheet.showWithPermission() - Display SMS composer with automatic permission handling
  • SmsComposerSheet.canSendSms() - Check SMS capability on device
  • SmsComposerSheet.checkPermissionStatus() - Get detailed permission status (Android)
  • SmsComposerSheet.requestSmsPermission() - Request SMS permission with system dialog (Android)
  • SmsComposerSheet.platformName - Get current platform name
  • SmsResult model with detailed operation feedback
  • SmsComposerWidget - Customizable Flutter SMS composer UI

Platform Support #

  • βœ… iOS 12.0+ - Native MFMessageComposeViewController
  • βœ… Android API 21+ - Custom bottom sheet + SmsManager integration
  • βœ… Flutter 3.3.0+ - Modern Flutter SDK support

Dependencies #

  • flutter: ">=3.3.0"
  • dart: ">=3.0.0"

Documentation #

  • πŸ“– Comprehensive README with installation and usage examples
  • πŸ”§ Developer documentation (CLAUDE.md) with architecture details
  • πŸ§ͺ Example app with complete demonstration
  • βœ… Unit tests and integration tests
  • πŸ“‹ API documentation with detailed method descriptions

Semantic Versioning Guide #

This project follows Semantic Versioning:

  • MAJOR version (X.0.0): Breaking changes that require code updates
  • MINOR version (0.X.0): New features that are backward compatible
  • PATCH version (0.0.X): Bug fixes and improvements that are backward compatible
2
likes
150
points
217
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for native SMS composer with beautiful bottom sheet UI. Supports iOS and Android with haptic feedback and error handling.

Repository (GitHub)
View/report issues
Contributing

Topics

#sms #messaging #flutter-plugin #native #composer

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on sms_composer_sheet

Packages that implement sms_composer_sheet