I just received the update for Hangouts 2.0, installed it and enabled SMS
→ Turn on SMS
. Now my application, running under Android 4.3, is una
Fixed it.
The first problem was that, as you can see in revision 2 of my question, I put the priority
attribute within the action
element, when it actually belongs into the intent-filter
element. So the priority didn't work.
While still targeting API 19, I did some experiences with Hangouts SMS enabled and different priorities.
SMS_RECEIVED
intentSMS_RECEIVED
intentSMS_RECEIVED
intentSo it seems that you need to have a minimum value for priority in order to get the intent with Hangouts SMS enabled. I didn't bother to bisect the lowest possible value. ;) I am going with 999 as I don't see any reason to get lower because my app does just some quick checks on the received sms and does not further process it. But it should really make a difference, as the broadcast is non-abortable.
1The maximum value