i'm trying to retrieve MSISDN in a FirefoxOS phone. i'm doing the extraction of other data, so i have many permissions on my manifest.webapp:
"permissions":{
"mobileid": {},
"mobilenetwork": {},
"mobileconnection": {},
"open-remote-window": {},
"telephony": {},
"wifi-manage": {}
}
my problem is the phone gives me nothing about the MozMobileICCInfo interface :(
the property i'm looking for is MozMobileICCInfo.msisdn
i'm testing my app as "certified". can anybody help me?
Only internal apps can access the general Telephony APIs on
firefox-os, because they are intended for system-level apps and default apps created by Mozilla/operators/OEMs.
Check the Permissions Table for Internal (Certified) Apps (MDN).
However, it is recommended to use the Mobile Identity API, to obtain a verified phone number (MSISDN):
Implemented and enabled in
firefox-os
>= 2.0and allowed for certified and privileged apps.