Page 1 of 2

How to find the device phone number ?

Posted: Thu May 09, 2013 8:16 am
by geevaa

Is there a way in appery.io API or somewhere else to find the Device phone number ?


How to find the device phone number ?

Posted: Thu May 09, 2013 3:14 pm
by maxkatz

It would be PhoneGap API or a plug-in: https://www.google.com/search?q=devic...


How to find the device phone number ?

Posted: Thu May 09, 2013 3:35 pm
by pafowkes

This might help point you in the right direction - http://simonmacdonald.blogspot.co.uk/...


How to find the device phone number ?

Posted: Thu Aug 29, 2013 3:20 am
by bahar.wadia

Any easy way to get the phone number of the device. The above response is not very clear.

Thanks in advance.


How to find the device phone number ?

Posted: Thu Aug 29, 2013 3:28 am
by maxkatz

Please check PhoneGap API for that.


How to find the device phone number ?

Posted: Thu Aug 29, 2013 11:08 am
by bahar.wadia

I did. Its too complicated and I don't know where to stuff all that code. Can you help with a simple example.

Thanks in advance.


How to find the device phone number ?

Posted: Thu Aug 29, 2013 2:33 pm
by maxkatz

I hope you understand, but custom app code is outside the scope of our support.


How to find the device phone number ?

Posted: Wed Feb 19, 2014 8:38 am
by ang .

Hi, I have tried to add the plugin mentioned by pafowkes by following this Appery documentation.

However, i get "undefined" error when trying to invoke the plugin via:
codecordova.require("cordova/plugin/telephonenumber");/code

or

codecordova.plugins.TelephoneNumber/code

or

codewindow.plugins.TelephoneNumber/code

Is the documentation outdated or the way I invoke plugin is incorrect?


How to find the device phone number ?

Posted: Wed Feb 19, 2014 9:22 am
by Kateryna Grynko

Hi,

Did you add telephonenumber.js as custom JS?


How to find the device phone number ?

Posted: Wed Feb 19, 2014 9:25 am
by ang .

Hi Katya, no, I didn't

so you mean I dont need to add the js file in the plugins folder? ("assets/www/files/resources/lib/plugins")

I will try and let you know.