Skip to content

Configurable SMS segment limit / warning before sending #733

@paulzuurbier

Description

@paulzuurbier

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: Can't send long text: Android warning and error code 5 #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssue is about a new feature or improving existing feature/behavior.needs triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions