Marek Sebera
Marek Sebera

Reputation: 40641

Get clients telephone number

How can I get phone number of client's cell phone in QML?

Not a phone number of someone in users contact list.

Thanks

Upvotes: 2

Views: 567

Answers (1)

Riho
Riho

Reputation: 4593

There is no knowledge of the client's phone number stored in the phone. Some operators may include it into SIM card, but not all. If you want to use client's phone number then he must provide it. For verification you could create and send a SMS to the same number and try to catch it. If it returns then the number is correct otherwise it might be incorrect or just delayed or phone is misconfigured and sending failed.

Upvotes: 3

Related Questions