On Wed, Jun 6, 2012 at 10:52 PM, Anant Narayanan <[email protected]> wrote: > On 06/06/2012 06:54 PM, Jonas Sicking wrote: >> >> I don't really understand what change is being proposed here. Doesn't >> getInstalled already return the list of applications installed through >> the store which is calling getInstalled? >> >> In other words, what specifically is the problem with the current API? > > > There is no way in the current API to distinguish between apps that have > been installed and apps that have been "acquired" (not quite the same as > installed) and do not have a native launch target. > > Therefore the proposal is to modify getInstalled to return a list of apps > that have launch targets on the current platform, *only* when called in a > privileged context like a dashboard. getInstalled will continue to work as > currently defined for regular origins like stores.
Isn't that what the mgmt.getAllInstalled() API returns? Also, I believe that Fabrice is working on adding a property on the App object which lets us tell the difference between an app which has been "acquired" but not yet fully downloaded and given a launch target. So getAllInstalled() could return all acquired apps and then pages could filter out the ones that don't yet have a launch target. / Jonas _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
