Acerca de
短信清理工具
Diseño y multimediaWhat you can do
- Filter & search: keyword, date range, type (inbox / sent / MMS-only), same number, same SIM
- Multi-select: long-press to enter, selection aligned by uid (SMS/MMS ids never collide); select all visible
- Delete: swipe / action sheet / multi-select / FAB batch (all confirm first); routed by is_mms, never cross-table
- Hide from list: local-only hide, system data untouched, resettable
Crecimiento de estrellas medido
- in 24h
- +2
- in 7 days
- +3
- in 15 days
- +4
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
SMS Cleaner
Local-first Android SMS / MMS cleanup tool (Flutter + Kotlin). Browse, filter, multi-select, export, and delete SMS/MMS. Everything stays on your device — nothing is uploaded or collected.
Features
- Message list: grouped by date, cards show number / body / time / SIM; MMS badge and attachment hint
- Filter & search: keyword, date range, type (inbox / sent / MMS-only), same number, same SIM
- Multi-select: long-press to enter, selection aligned by
uid(SMS/MMS ids never collide); select all visible - Delete: swipe / action sheet / multi-select / FAB batch (all confirm first); routed by
is_mms, never cross-table - Hide from list: local-only hide, system data untouched, resettable
- Export CSV: all or selected, RFC 4180 + BOM, system share; includes
is_mmscolumn - Import CSV: same format as export; insert-only into the system SMS store (requires default SMS app); MMS rows skipped
- Permission center: read SMS, default SMS app, one-tap check & repair; MIUI “notification SMS” guide
- Theme: 8-color palette + light / dark / follow system
- i18n: Simplified Chinese, Traditional Chinese, English
MMS support scope
Covered by the unified data plane: browse / filter / delete / export. Body summary is taken from text parts (content://mms/part); placeholder “[MMS]” when empty, “attachment” hint when media parts exist. No full rendering (smil / image / audio playback).
New MMS while this app is the default: MmsReceiver stores notification metadata (sender / time / subject / Message-ID / Content-Location) into content://mms/inbox + addr, so messages are not lost. Full smil/media is not downloaded (depends on non-public PduPersister). For complete MMS content, temporarily switch the default SMS app back to the system “Messages”.
Screenshots

Permissions & system requirements
| Capability | Depends on | Notes |
|---|---|---|
| Read SMS/MMS | READ_SMS |
List, search, export |
| Delete SMS/MMS | Default SMS app (ROLE_SMS) |
Android 10+ via RoleManager |
| Write / new SMS | Default SMS app | SmsReceiver inserts when default |
| New MMS metadata | Default SMS app | MmsReceiver notification skeleton |
No system permission dialog on cold start; request from Settings or the empty state.
MIUI note
MIUI adds a private “Notification SMS” toggle (App info → Permissions → Other). Without it, only person-to-person SMS is visible — 10086 / bank alerts stay hidden.
This toggle cannot be granted via public API. After READ_SMS is granted the app shows a one-tap guide to the MIUI permission editor; the home page also shows a dismissible hint.
Build & run
flutter pub get
flutter run
flutter test
flutter analyze
cd android && ./gradlew :app:testDebugUnitTest
flutter build apk --debug
flutter build apk --release
Requires Flutter 3.50.1 / Dart 3.14 (pinned in .github/flutter-version), Android minSdk 29.
Release signing
Release builds use the keystore in the repo, the same certificate as 1.9.0 (CN=sms):
android/key.propertiesandroid/app/key/sms.keystore(storeFileis relative toandroid/app/)
flutter build apk --release
If those files are missing, a local release falls back to the debug signature. A version-tag build does not: it fails unless the APK certificate SHA-256 is 172fa47b456bfc4667320ae6d87b33c8791b8b2ade48b412dbd5005525909ce3.
Actions secrets KEYSTORE_BASE64, STORE_PASSWORD, KEY_PASSWORD, and KEY_ALIAS, when all four are set, replace the in-repo key for that job. The certificate check still applies. See docs/distribution.md.
Project structure
lib/
main.dart # entry
app.dart # theme + MaterialApp
theme/tokens.dart # palette
models/sms_item.dart # SMS/MMS model
services/ # channel / CSV / hidden list
features/
list/ # home, cards, action sheet
filter/ # filter model + sheet
delete/ # delete confirm
settings/ # settings / theme / permission
widgets/ # empty states
android/app/src/main/kotlin/com/dc16/sms/
MainActivity.kt # MethodChannel dispatch
SmsAccess.kt # query / delete / permission / MIUI
SmsReceiver.kt # insert new SMS when default
Privacy
SMS content is used only for on-device display, filtering, and export. No network upload, no analytics.
License
Explorar proyectos relacionados
Cargando…