In my App, i want to verify if the mobile number that the user has entered is present on current device. Like all the banking apps do. Banking apps will not allow you to login if registered mobile is not present on current device.
My question is how to do that. I have tried TelephonyManager API and SubscriptionManager API. Both of them are not giving the mobile number.
With SubscriptionManager API, i'm able to get the following info, but not the mobile number