Ios how can I verify that the phone number entered is actually the users phone number?

不打扰是莪最后的温柔 提交于 2020-01-02 04:01:10

问题


I have seen a couple different apps (Snapchat, whatsapp, etc.) ask users to input their phone number. A text message is then sent to the user with a code to verify that the number is actually their number. Then they are able to see which of the users address book contacts also have the app.

I understand how all of this works except how they are sending the text messages to the user. Are they running their own SMS Gateway like Kannel, using an SMS gateway provider like twilio, or am I completely missing another option?

Seems like using a gateway provider even at 1 cent a message would add up very quickly especially when you are really only trying to protect the app from the few users that purposely put in the wrong phone number.


回答1:


Most of the apps use sms gateway services, yes sms is costly, there is another way to verify the user number by missed call trick. http://dial2verify.com/



来源:https://stackoverflow.com/questions/19308502/ios-how-can-i-verify-that-the-phone-number-entered-is-actually-the-users-phone-n

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