Mobile phone number

Is it possible to parse the phone number ionic app is running on?
For phone verification, we can simply detect the mobile number, send and receive sms and login the user.

Android and IOS won’t allow this. It is a security reason why they don’t let you just get the phone number of the device the app is running on.