Closed Bug 1108736 Opened 10 years ago Closed 8 years ago

FxOS Privileged Dialer App

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kgrandon, Unassigned)

References

Details

      No description provided.
Kevin, I might do some brainstorming on this but I was wondering where are we supposed to put the code. Would it be a separate repository or shall we hack existing applications to make them privileged (possibly in a gaia branch)?
Flags: needinfo?(kgrandon)
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Gabriele - I'm looking to put a replacement dialer app here: https://github.com/fxos/dialer

There's just a very basic index.html page there, and no code yet. Thanks for the interest!
Flags: needinfo?(kgrandon)
Gabriele - From a platform side, do you know if we have any bugs filed for APIs for a privileged dialer? Are you aware of what APIs we would need to open up to make this possible? From looking at the manifest, I see the following: 

"telephony":{},
"voicemail":{},
"mobileconnection":{},
"phonenumberservice": {},

Do we need all of those to create a dialer? I just want to make sure we have some bugs filed for everything we need. Thanks!
Flags: needinfo?(gsvelto)
(In reply to Kevin Grandon :kgrandon from comment #3)
> Gabriele - From a platform side, do you know if we have any bugs filed for
> APIs for a privileged dialer?

We have bug 934289 as a meta bug for exposing APIs to privileged applications. Some are dialer specific (e.g. bug 897773) but there might be more around.

> "telephony":{},

Definitely needed.

> "voicemail":{},

This is only needed for voicemail support obviously. It's not strictly required but nice to have.

> "mobileconnection":{},

This is used for MMI messages (but only to show network information attached to them) and for implementing DSDS since we need to check how many network connections are available. We also use it to check the network status. So this isn't strictly required but it's helpful to know:

- how many (voice) network connections we have
- what's their status
- what's the carrier name

> "phonenumberservice": {},

This covers only two things: number normalization - which could be done in gaia, there's absolutely no platform AFAIK - and fuzzy matching. We could do the latter in gaia too but apparently we didn't want too because we'd need to copy the international prefix codes in all apps (see bug 938265). Personally I'd rather do the opposite, strip this stuff from Gecko and move it into Gaia. If for an app loading ~500 lines of JS is considered a problem then we could always create a small, asynchronous wrapper object that lazy-loads the rest of the code.
Flags: needinfo?(gsvelto)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.