Configurable SMS segment limit / warning before sending

Đang mở
#733 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
42/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
android, kotlin
Lĩnh vực
mobile, mobile-dev

Hướng nghiên cứu

This is a new Settings plus send-path feature, not a one-file tweak. Start from the existing outgoing-message settings (character counter and “Send long messages as MMS”) and the send path that already calls SmsManager.divideMessage() to count segments. Wire a confirmation dialog when the count exceeds a configurable warning threshold, then an optional hard cap that blocks send. Done means both options appear under Settings → Outgoing messages and sending respects them. The issue is 205 days old with no comments, so confirm with maintainers before building.

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

Mô tả

feature request needs triage
Checklist
  • 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 request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
Feature description

Feature description

Fossify Messages already has two useful features related to long messages: a character/segment counter and a "Send long messages as MMS" option. However, neither of these prevents a user from accidentally sending a message that gets split into a very large number of SMS segments.

Proposed solution

Add a configurable segment limit with two levels of protection:

  1. Warning before sending: When a message exceeds a configurable number of segments (e.g., default 3), show a confirmation dialog: "This message will be sent as 327 SMS segments. Send anyway?" This is the most important addition — it catches accidental sends while still allowing the user to proceed.

  2. Optional hard segment limit: A setting where users can define a maximum number of segments (e.g., 5). Messages exceeding this limit cannot be sent. This is particularly useful for parental control scenarios or users on limited SMS plans.

Both options could be exposed in Settings → Outgoing messages alongside the existing character counter and "Send long messages as MMS" settings.

Why do you want this feature?

In my case, my daughter created a very long message, and hit send. This resulted in 500+ SMS segments being sent — instantly hitting the monthly SMS limit on her prepaid plan, generating extra costs of 31 euro-cent per segment. The character counter was visible, but there was nothing to stop the message from being sent. The "Send long messages as MMS" option does not help in our case because MMS is not included in her plan.

Additional information

Additional context

  • The existing character counter shows the segment count but does not prevent sending. The existing MMS conversion option helps some users but is not a solution when MMS is unavailable or costs extra.
  • Related issue: #222 (long messages triggering Android warnings and error code 5). A confirmation dialog would also reduce the confusion described in that issue.
  • Implementation could hook into the existing SmsManager.divideMessage() call to count segments before sending and conditionally show a dialog.
Ngôn ngữ chính
Kotlin
Star
1.6k
Fork
187
Merge trung bình
22 giờ 13 phút
Pull request đã merge (30 ngày)
18

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.