FossifyOrg / Messages

An easy and quick way of managing SMS and MMS messages without ads.
https://www.fossify.org
GNU General Public License v3.0
414 stars 29 forks source link

Replying from notification always uses SIM1 #154

Open Cwpute opened 3 months ago

Cwpute commented 3 months ago

Checklist

Affected app version

1.0.1

Affected Android/Custom ROM version

Android 11

Affected device model

Nokia TA-1157

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Have a SIM card inserted in slot number 2 (SIM2) in your phone
  2. Set a conversation to send messages using SIM2
  3. Receive a message on SIM2 for that conversation
  4. From the notification that pops up, tap "Reply" and send a message

Expected behavior

App should answer using the preferred SIM specified by the user in the conversation with the SMS sender, or at the very least automatically defaults to the SIM that the message was sent to.

Actual behavior

App will always send the message via SIM1, even if there is no SIM card inserted in the SIM slot number 1.

Screenshots/Screen recordings

No response

Additional information

This is critical for me as some of my clients won't look at messages from phone numbers they don't recognize. So if my app sends replies with the wrong SIM card, clients might never receive critical information i sent them and assume they have received and read as being from me.

originally reported by @Zoyolin in the SMT repository: https://github.com/SimpleMobileTools/Simple-SMS-Messenger/issues/723

I've noticed that when I reply to a sms received in the notification, the send fails as it attempts to use my first sim card. In the main sms view, sim card 2 is the default one and also system wide for sms (and internet and calls). I'm on android 11 on a fairphone 3. Build 8901.4.A.0023.0 release-keys.