Hi.
I have a flow that tracks me when I am out alone in the countryside. It then regularly sends a SMS to my wife giving my location, just in case I have any problems. Apart from poor mobile signals this seems to have served me well for some time (though thankfully we have never needed to rely on it).
Yesterday to my surprise the flow came to an unusual end, having successfully sent about 6 successful location reporting SMS messages, the flow ended up with:-
05-07 13:33:59.235 I 1211@3: SMS send
05-07 13:33:59.369 F 1211@3: java.lang.SecurityException: Package com.android.phone (uid=1***) does not match provided uid 10***
05-07 13:33:59.370 I 1211@3: Stopped by failure
[N.B. For security reasons the two sets of *** in the exception line each cover 3 digits (different in the two cases) as I am not sure how user specific these numbers are..]
I do not understand how the uid can have reliably worked 6 times and then been wrong this last time. I have subsequently checked the "Subscription id" in the "SMS send" block and there is only one option, the one it is set to use.
The only thing I can think of is that if at that point there was no phone signal than maybe the "Subscription id" will not check out. However the flow already checks for a robust mobile signal before attempting to send.
So I remain puzzled and would be grateful for any suggestions as to what may have happened and how I might avoid it in future.
Thanks for your time.
Mike