Problem Receiving SMS's

@Mario

Read this completely The application has stopped receiving text messages in the background - #5 by SteveJG .

You have a similar issue. Yes, with some cell providers if Always is set , queuing of messages does not work. So you discovered 'it works only when my App is in the foreground' despite selecting option 3 ... Always. Why? It might not be working because of an issue with your Android version (possibly this feature does not work with some Android os); or it could be an issue with your cell phone provider (they do not que messages the way MIT says in their documentation) or MIT has a bug that prevents the option working on every phone and phone network. A solution is to use option 2, if you want to copy all messages, keep your Android active using a Stay Awake routine


Stay Awake block routine using a Notifier

or you use Taifun’s Tools Extension: https://puravidaapps.com/tools.php

[

Using either an extension or a block routine drains your device battery rapidly . These work around methods are not running the app in the Background, they force the app
screen to stay open .


If your is running in the foreground it should ' make an Sound when I receive an SMS from an selected number…' using foreground. Even if the Always option was working in your app as it should, the app would NOT be able to make a sound (alarm). The option is supposed to do (but some times does not) send a notification. The comportment does not provide an event handler that will work when in the background. The documentation indicates :

If the ReceivingEnabled property is set to 1 messages will not be received. If ReceivingEnabled is set to 2 messages will be received only when the application is running. Finally if ReceivingEnabled is set to 3, messages will be received when the application is running and when the application is not running they will be queued and a notification displayed to the user. Unfortunately, sometimes that does not happen. Be happy with option 2 (Foreground).

Regards,
Steve