geevaa
Posts: 0
Joined: Thu May 09, 2013 8:13 am

How to find the device phone number ?

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to find the device phone number ?

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

pafowkes
Posts: 0
Joined: Fri Apr 12, 2013 1:42 pm

How to find the device phone number ?

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

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

How to find the device phone number ?

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

Thanks in advance.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to find the device phone number ?

Please check PhoneGap API for that.

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

How to find the device phone number ?

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to find the device phone number ?

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

ang .
Posts: 0
Joined: Thu Jan 09, 2014 3:13 am

How to find the device phone number ?

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?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to find the device phone number ?

Hi,

Did you add telephonenumber.js as custom JS?

ang .
Posts: 0
Joined: Thu Jan 09, 2014 3:13 am

How to find the device phone number ?

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.

Return to “Issues”