Hi, I'm working on a very simple app that is just a login entry point for an online service.
Login credentials are phone number and a password. Since we are on a phone, it would be nice to pre-fill the phone number input field, so it contains the user's own phone number which should be known to the device. I searched the interfaces described at https://developer.mozilla.org/en-US/docs/Web/API. Telephony MozContacts MozMobileNetworkInfo MozMobileConnectionInfo they don't provide that information. navigator.mozPhoneNumberService seems to be only for matching or normalizing phone numbers of different formats. In the permissions table, I found a permission "mobileid", see https://mxr.mozilla.org/mozilla-central/source/dom/apps/src/PermissionsTable.jsm How can I obtain the user's phone number? _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
