On Wednesday, 10 July 2013 18:19:09 UTC-3, Matt Basta  wrote:
> You want to use the navigator.mozMobileNetwork API. You can see an example of 
> it's usage in the wild here:
> 
> https://github.com/mozilla/fireplace/blob/master/hearth/media/js/mobilenetwork.js#L263
> 
> That will give you the MCC and MNC and some other data. You'll need to 
> request the "mobilenetwork" permission for it to work, which means you'll 
> need to be a privileged app.

I'm confused: I don't see any reference to the "navigator.mozMobileNetwork API" 
on the list of Firefox OS APIs 
(https://developer.mozilla.org/en-US/docs/WebAPI) and when I attempt to use the 
"mobilenetwork" permission in my manifest the simulator complains with "Unknown 
permission 'mobilenetwork'."

https://bugzilla.mozilla.org/show_bug.cgi?id=866272 seems to be where this 
additional feature is being discussed

Perhaps this is something not yet supported by my device (Peak running 
1.0.1.0-prerelease) or the simulator?



_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to