Search code examples
iphonetitaniumtitanium-mobile

Get the mobile number from iPhone settings in titanium appcelerator


I want to fetch the user's phone number from her iPhone settings. I have found so far that this is not supported with any Titanium API. Is there any module or a way to get the phone number that is entered in user's iPhone settings.

Thanks! :)


Solution

  • You can't access that information. Even when you are using Objective-C to create your app, Apple doesn't provide API for that. Take a look on this question.

    If you want to collect users phone numbers, you have to ask them for it explaining why you need it.