Smart SMS App 📱
A Flutter app that allows you to manage incoming SMS messages with Add/Reject options, persistent storage, notifications, and swipe-to-delete functionality.
Features ✨
Receive SMS in real-time (foreground and background).
Notification popup for each incoming SMS with Add / Reject actions.
Home screen shows all pending and added messages.
Swipe left to delete any message.
Persistent storage using Hive — messages remain after app restart.
Dark & Light theme support.
Background SMS handling using another_telephony.
Screenshots 🖼️
(Add screenshots of your app here)
Installation ⚡
Clone the repository:
git clone https://github.com//.git cd sms_inbox
Get dependencies:
flutter pub get
Build APK for Android:
flutter build apk --release
Install the APK on your device. Make sure Install unknown apps is allowed.
Permissions 🔑
The app requires the following permissions:
Receive and read SMS → To detect incoming messages.
Send notifications → To show Add/Reject popups.
How It Works 🛠️
When a new SMS arrives:
A notification popup appears.
The message is saved in Hive as pending.
User can Add or Reject:
Add: Message is marked as added and stays on home screen.
Reject: Message is removed from storage and home screen.
Swipe left on any message to delete it.
Home screen always shows all messages, even if notifications are cleared.
Dependencies 📦
Flutter
another_telephony → SMS handling
hive & hive_flutter → Persistent storage
flutter_local_notifications → Notifications
provider → State management
Notes
Minimum Android SDK: 23+
Tested on Android devices. Requires a SIM to test SMS.
Notifications do not remove messages unless Add/Reject is tapped.
License 📝
MIT License. Feel free to use and modify.