ios - How does whatsapp determine country of the user without asking for location details? -


when signing whatsapp, need enter phone number. whatsapp knows (somehow) country in , pre-selects country you, need confirm that.

whatsapp phonenumber signup

for record, whatsapp not ask permission access location, still know (vaguely, maybe). how this?

something like

nsstring *locale = [[nslocale currentlocale] localeidentifier]; 

that work vast majority of people in own country, , haven't set locale random other country.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -