Failure S104 to send SMS via one of two available SIMs

Open
#965 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by tracing how the app selects a SIM and sends SMS, using the reported steps to reproduce on Android 15 with two SIMs. Compare sending through SIM 1, which fails with S104, against SIM 2, which sends from the wrong number. The issue does not name files or tests; done means messages send from the selected SIM and its associated number.

Written by the indexing model from the issue text.

Description

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.10.3

Affected Android/Custom ROM version

Android 15

Affected device model

Xperia XQ-DC54

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Open an existing conversation or start a new one by hitting the plus and selecting a contact (it seems the behaviour does not depend on the contact but on the selected SIM; all contacts I tried were behaving the same, though I didn't test all of them, obviously)
  2. Write a message
  3. Choose SIM 1 (in this case; provider is Congstar)
  4. Press the button labelled SMS to send
Expected behavior

The message gets sent via SIM 1, the recipient receiving a message with the associated phone number as sender.

Actual behavior

A toast is appearing:

Nachricht nicht gesendet: Ungültige Übermittlungsdaten (S104)

Unfortunately, the toast is vanishing after a second or so, so I didn't manage to capture it.

The message is shown in the log with a red annotation

Nachricht nicht gesendet. Berühren, um es erneut zu versuchen.

Tapping the "Berühren, um es erneut zu versuchen" fills the entry line and pre-selectects SIM 1 again. Tapping "SMS" then reproduces the error behaviour. Selecting SIM 2 (in this case the provider is AldiTalk) and tapping "SMS" is sending the message, however, from the wrong phone number.

Screenshots/Screen recordings

No response

Additional information

No response

Dominant language
Kotlin
Stars
1.6k
Forks
187
Avg merge
4d 5h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FossifyOrg/Messages

All issues in FossifyOrg/Messages

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.