google app invite - sms are not sent

不羁岁月 提交于 2019-12-19 04:06:35

问题


I've tried searching for a solution with no luck yet. I am trying to use the google app invite to invite friends to use my app (android). Emails are sent but sms are not. I do not get any error message, in fact I actually get a message that the invitation has been sent. I also tried adding sms permission to my app.. Any thoughts?


回答1:


Same problem here. To solve it reduce the length of your message.

As we know, the message must be not longer than 100 symbols. But this is true only for latin characters. If your message contains at least one non-latin symbol (it switches to UCS-2 encoding), then the maximum length becomes only 39 symbols long (have tested Russian only).

So if you're trying to submit 40+ symbols, the message won't be sent.




回答2:


I had the same problem. Emails were sent, but SMS messages not (although the app showed a snackbar saying that the invitation was sent). Apparently SMS messages are not sent when the message text contains some "more special" characters. In my case the text contained a "ë". After removing this character, SMS messages were successfully sent.



来源:https://stackoverflow.com/questions/32713748/google-app-invite-sms-are-not-sent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!