Phone number country code malformed when sending SMS
Status: Alpha
Brought to you by:
eribr
The country code notation (e.g. +43 for Austria) is malformed when trying to send an SMS. The plus (+) is ommitted and the sms is sent to 436801234567 when the sms is received from +436801234567.
D/FindMyPhone(29778): Got SMS with secret text +436801234567
D/FindMyPhone(29778): LocationMessageService:onCreate
D/FindMyPhone(29778): Inside LocationMessageService:onStart
D/FindMyPhone(29778): UriData ?destinationAddress=+436801234567
D/FindMyPhone(29778): Startar commandprocessor
D/FindMyPhone(29778): Resetting ringer from 7 to 7
D/FindMyPhone(29778): processCommand, reply to phonenr: 436801234567
...
I could fix this: error is caused by phone number being passed using URI encoding. This will strip every + (plus) character into spaces, thus invalidating the sending.
I have replaced this technique passing phone number using Extras rather than intent data. I attach the two modified class files involved in the fix.
All the best
Antonio Pisano, please feel free to commit your changes directly. You should now have access to make changes to the project
Any chance this will be fixed? Or can you recommend me a similar app?