On Thu, Jun 7, 2012 at 1:03 PM, Anant Narayanan <[email protected]> wrote:
> I don't think we should conflate the concept of remote apps with this API. > We can do something much simpler, there are only two "types" of apps for > any user: > > 1. Apps that the user has acquired, across all their devices > > 2. Apps that are installed on the current device (the definition of > "installed" can vary from device to device, but for Android/Desktop, this > is the native installation) > > My proposal is to make getAll return (1) and getInstalled return (2) in > the case of privileged domains like the dashboard. Are there use cases that > this proposal does not fulfill? The reuse of getInstalled this way seems like a pun, not a sensible extension of the API. getInstalled currently means "apps that this origin installed". It has nothing to do with any local installation status. mgmt.getLocallyInstalled() or some other new API is more sensible. Also there needs to be a way to do something with those results, such as an .install() method on app objects, or on some app objects. RIght now getAll() is used to get 2 (even if somewhat inaccurately), which is why I proposed a new method be added for 1 (getAllRemote()). _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
