Messages app on iPhone do not play alert/vibrate for SMS received from some numbers
I get no sound (or vibration) in my iPhone when a I receive a message from certain numbers. The number is not listed in my Contacts, it's a very short number sent containing SMS sent by my bank with some secure code or OTP to perform an operation with their services.
The iPhone is not in the Do Not Disturb mode and is not silenced. I sent a message to myself and heard the sound.
What is causing the sound to not play and how can I fix to get the sound back? My iPhone is running the current latest version of iOS 12.3.1.
Solution 1:
iOS 12 and macOS Mojave introduced a feature called Secure Code AutoFill which lets you conveniently fill the security code/OTP in the active text field when one is received via SMS.
If you use a Mac which is linked with the same Apple ID as your iPhone, and you have enabled Text Message Forwarding under Settings app → Messages, the secure code/OTP generally send by your bank can be easily entered in the appropriate field with a simple mouse click.
You can read about the feature in the linked article:
- How to Use Secure Code AutoFill in iOS 12 and macOS Mojave
If you've enabled Text Message Forwarding on your iPhone, you can use the Secure Code AutoFill feature in macOS Mojave, too. The code should appear in Safari as an AutoFill option in the relevant field as soon as the SMS is delivered to Messages on your Mac.
iOS and macOS use local data detector heuristics to work out whether an incoming message carries a security code, and Apple says the Security Code AutoFill feature does not alter the security of this two-factor authentication method.
If you have such a setup, your iPhone doesn't play any sound or vibrate for the received message, and the SMS is automatically marked as read on your iPhone.