Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do Apps get MY phone number to find friends?

I'm currently working on a cordova web-app.

I wonder how Apps like Runkeeper show me contacts of my addressbook, that are also using Runkeeper. On each contact there is a little telephone symbol, so i guess the link is somehow established via the phone number.

Runkeeper has never gotten my or my friend's phone number and it is not readable from the SIM cards, though.

The only possible way that i could think of is, that Runkeeper reads my other Accounts from the AccountManager and makes a connection using my WhatsApp-ID...

Does anybody know how that happens and can I do it too in my cordova app?

like image 426
Sentenza Avatar asked Apr 11 '16 20:04

Sentenza


People also ask

Can apps get my phone number?

In addition, apps can gather the phone number and the unique ID number of each type of phone: the Unique Device Identifier (UDID) on the iPhone, the International Mobile Equipment Identity (IMEI) number on the BlackBerry, and (depending on the make) the IMEI or the Mobile Equipment Identifier (MEID) on an Android phone ...

Can people find your Facebook by number?

If you've ever given your phone number to Facebook, anyone can find your profile by running a Facebook search on that number.

How do I find friends on my phone?

Find Friends through Friend Recommendations 1 Launch Line from your device’s Home screen. 2 Tap the “Friends” tab. 3 Tap the “Add friends” button. 4 Browse the list of recommended friends and tap the “+” sign next to the user you’d like to add as a friend.

How to find new friends with ID search?

Follow these steps to find new friends with ID search. The steps apply to both Android and iOS versions of the chat app. Launch the Line app from your device’s Home screen. Tap the “Friends” tab. You can also tap the “More” tab. Tap the “Add friends” icon (it looks like a silhouette).

How do I find my phone number on my phone?

On Android devices, the process is very straightforward. First, swipe down once or twice from the top of the screen, then tap the gear icon to open the Settings. Scroll all the way down to “About Phone.” You’ll see your phone number listed somewhere on this screen!

How to track the location of my friends and relatives?

Install iMapp and you will be able to: • track the location of your friends and relatives connected to the service • find out the location of any person; regardless of whether they have the app on their device installed (targeted devices should support HTML5) • view the time list of location (s) of your friends for last 60 days


1 Answers

Runkeeper read your contacts as per their own website. When you install the app, they store your install in their database with your number or something that was originated from your number (encrypted version for example).

When you want to know who has the app, they do the same encryption on your contacts numbers, and correlate with what they have.

For example:

User1 : [Phone 1234] 
User2 : [Phone 2341] 
User3 : [Phone 3412]

User1 installs the app, Runkeeper stores the sha1 of his number, salted or not, in their database:

Runkeeper database of installs:
    7110eda4d09e062aa5e4a390b0a572ac0d2c0220

User2 installs the app, Runkeeper stores the sha1 of his number in their database:

Runkeeper database of installs:
    7110eda4d09e062aa5e4a390b0a572ac0d2c0220  <-user1
    52c88b165a3a614a5e3ceac0074bad92d5bb1c0a  <-user2

When User2 loads the activity that shows him his contacts that are using the app, Runkeeper reads your contacts then for each contact they contact their database and correlate without ever sending your phone number or your contacts outside.

Disclaimer

This is an example approach, I have no idea if this is the way they're doing it. It's overly simplified on purpouse for sake of clarity.

Follow-up While it may be true that you never provided the phone number to the app, it doesn't necessarily mean that it doesn't have it already. Test yourself the code in this answer to check whether or not it's readable

Apparently op's Settings / About Phone / Status / My phone Number is empty, as is the google account phone number, which would be another way of accessing it.

like image 150
Juan Cortés Avatar answered Sep 23 '22 17:09

Juan Cortés