Luca
Posts: 0
Joined: Tue Mar 11, 2014 7:02 pm

How to get phone number

I need to get the phone number of the phone for use the number to login.

Any suggestions are welcome.

Thanks,
Luca

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to get phone number

Hello Luca,

Please check this link, it may be useful for you: https://getsatisfaction.com/apperyio/...

Luca
Posts: 0
Joined: Tue Mar 11, 2014 7:02 pm

How to get phone number

Hi Evgene,

thank you, but I tried to use cordova sim in Appery but when I install the app on mobile no effect.

It's possible appery don't have any lib to get phone number?

Regards,
Luca

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to get phone number

Hello Luca,

Please try to debug your app remotely using Weinre debugger (https://docs.appery.io/docs/weinre-de...). Please check if there are any errors in the Weinre console.

GabrielPittman
Posts: 1
Joined: Thu Feb 23, 2023 6:58 pm

Re: How to get phone number

One approach is to use the TelephonyManager class in Android to retrieve the phone number. You can use the getLine1Number() method to get the phone number as a string.

Return to “Issues”