How do I get the user's mobile number?

Get help using Construct 2

Post » Tue Jul 29, 2014 12:43 pm

I want to be able to get the mobile numbers of the user for both ios and android. I know it is possible to do this in Eclipse and Xcode but i was wandering if it was possible to do it with construct 2.
B
5
Posts: 20
Reputation: 519

Post » Tue Jul 29, 2014 2:27 pm

8-)

http://stackoverflow.com/questions/21685344/how-to-retrieve-the-cell-number-from-an-iphone-through-xcode

It is not possible to get the phone number of the device. Apple doesn't allow this, and it would be bad for users if app developers were easily able to get this somehow, for privacy reasons. The best way to deal with this is ask the user for it if you really want it.

There used to be ways to get the device phone number, but they were basically loopholes, or bugs in iOS, which allowed this. Apple has since fixed these, and it's very obvious that if any new methods were discovered, Apple would be fixing those as well. So it's best to just go the only route that will forever be allowed, which, again, is to ask the user.
B
17
S
3
G
3
Posts: 89
Reputation: 2,825

Post » Tue Jul 29, 2014 2:35 pm

Why would you want to do that? You have mischievousness mind or what?
B
245
S
39
G
15
Posts: 1,946
Reputation: 40,276


Return to How do I....?

Who is online

Users browsing this forum: alextro, stevenode and 6 guests