Failure S104 to send SMS via one of two available SIMs

未关闭
#965 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, kotlin
领域
mobile

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Kotlin
星标
1.6k
派生
187
平均合并
4 天 5 小时
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Messages 的其他 Issue

查看 FossifyOrg/Messages 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。