Closed Bug 886250 Opened 11 years ago Closed 6 years ago

Provide more Device Information

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: andre.fiedler, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

Steps to reproduce:

Hi,

there should be a way getting more Device Information for Debugging Logs. I´m working on an app that will send error logs "home". (with informing the user)

For fixing bugs I need informations like:

Gaia Build Hash / Date
Hardware Info (iccid, msisdn, imei)

Would be nice to get them via:

navigator.mozGaiaBuildDate
navigator.mozGaiaBuildHash
navigator.mozDeviceIccid
navigator.mozDeviceMsisdn
navigator.mozDeviceImei

I did look at how Gaia Settings App handles this. But there´s no way to get this Information in external apps:

https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/about.js
Nice, found out that there´s a

navigator.mozMobileConnection

in Firefox OS that contains ICCID, MSISDN, and IMEI.
Now only Gaia Build Date and Hash si missing. :)
There's also a new FFOS App called FxStumbler that needs more info like network MCC, MCN, GSM cell ID, signal strength aso. These APIs shouldn't be certified, I think privileged would be a better choice.

https://github.com/clochix/FxStumbler
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.