On Thu, Jun 7, 2012 at 11:03 AM, Anant Narayanan <[email protected]> wrote: > On 6/7/12 8:56 AM, Ian Bicking wrote: >> >> I think getInstalled is little bit of a red herring – it means "things >> this site installed". More generally, underlying mozApps is a single >> list of applications that either exist (and so are installed) or don't >> exist in that list. >> >> I've been thinking about this a little, and I think it might make sense >> to distinguish between applications that *could* exist (i.e., everything >> in the cloud), and applications are installed locally, or installed on >> other particular devices. >> >> One thought I had is that we could have mozApps.getAllRemote() (and >> getInstalledRemote()) that gives all the app objects that exist, whether >> or not they are installed. Applications objects would have a property >> indicating their local install status, and an .install() method. >> .uninstall() means uninstall locally. Maybe a new method could be added >> that means remove from the cloud. > > > 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
What is the purpose of this type of app? I.e. why would we want to expose an app which has been acquired but not installed anywhere? / Jonas _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
