Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Duplicate outgoing SMS/MMS entries created in Telephony provider

Đang mở
#796 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

Start by tracing the outgoing SMS and MMS send flows and where each writes to Android's Telephony provider. Reproduce the report's steps and check whether both flows can create multiple provider records for one send. Done means each send creates one outgoing record while the recipient still receives the message.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.8.0

Affected Android/Custom ROM version

GrapheneOS (Android 14)

Affected device model

Google Pixel 4a (5G)

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Set Fossify Messages as the default SMS application.
  2. Open any conversation.
  3. Send an SMS (also reproducible with MMS).
  4. Observe the conversation after the message is sent.
Expected behavior

One outgoing message should be created and displayed.

Actual behavior

Two outgoing messages are created for every message sent.

The recipient receives only one SMS/MMS, but two sent messages appear in the conversation. The duplicates are also visible in other SMS applications (including the stock/AOSP Messages app), indicating that duplicate records are being written to Android's Telephony provider rather than being a Fossify UI issue.

Screenshots/Screen recordings
ignoreImageMinify
Additional information
  • Reproducible every time.
  • Happens with both SMS and MMS.
  • Clearing app cache does not help.
  • Disabling delivery reports does not help.
  • Stock/AOSP Messages does not reproduce the issue.
  • Fossify Messages is the only default SMS application.
  • Other SMS apps display the same duplicate entries because they exist in the system SMS database.

ADB query after sending a single SMS with body "Fossifytest":

adb shell content query --uri content://sms/sent --projection _id,date,date_sent,type,status,sub_id,creator,address,body | grep Fossifytest

Row: 0 _id=3300, date=1781227818202, date_sent=0, type=2, status=-1, sub_id=2, creator=org.fossify.messages, address=REDACTED, body=Fossifytest

Row: 1 _id=3299, date=1781227817753, date_sent=0, type=2, status=-1, sub_id=2, creator=org.fossify.messages, address=REDACTED, body=Fossifytest

Both rows:

  • have different _id values
  • have different timestamps (~449 ms apart)
  • have identical body, address, status, type, creator, and sub_id values
  • were created by org.fossify.messages

This appears to be a duplicate insertion into the SMS provider rather than a display issue.

Ngôn ngữ chính
Kotlin
Star
1.6k
Fork
187
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
20

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FossifyOrg/Messages

Tất cả issue của FossifyOrg/Messages

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.