I need to get the phone number of the phone for use the number to login.
Any suggestions are welcome.
Thanks,
Luca
I need to get the phone number of the phone for use the number to login.
Any suggestions are welcome.
Thanks,
Luca
Hello Luca,
Please check this link, it may be useful for you: https://getsatisfaction.com/apperyio/...
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
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.
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.