is there a package to get user's phone number for android and ios. I have read some packages like sim_info
and sim_data
but as I know there is no property to get user's phone number (please correct me if I am wrong)
There is another package called mobile_number
Note that it doesn't work on iPhone.
If you just want the phone number to fill a form field, you should use:
autofillHints: [AutofillHints.telephoneNumber}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.