I am developing an application for firefox os device. For some requirement I want to read the phone number of that device using javascript. Is there any api or method to read the phone number.
Asked
Active
Viewed 75 times
0
-
After setting the permissions in .manifest file, what is the javascript code I can use to retrieve phone number ? It is not mentioned in that answer. – user3878988 Sep 17 '15 at 18:20
-
The function is `navigator.getMobileIdAssertion()`, and it is available to certified and privileged applications. – meskobalazs Oct 01 '15 at 15:07
-
I added this info to the other question, so this can remain closed. – meskobalazs Oct 01 '15 at 15:20