On 22/05/13 17:58, Matt Basta wrote: > Hi all > > This was brought up in a bug, but the conversation got muddied across a > number of different issues. One thing I'd like to see is an API that allows > an app (a "marketplace app") to modify the manifest URLs (for hosted apps) or > mini manifest URLs (for packaged apps) of apps that the marketplace app has > installed. This allows us to do a few things: > > - Prevent users from getting updates to apps that are incompatible with their > devices (i.e. a developer releases a new version of a packaged app that > doesn't work on older devices which may have previously installed the app)
How do you know that an update is incompatible? Shouldn't that information lives in the manifest? Then, can't the runtime (ie. Firefox OS) simply ignore the update. It could even let the user know that the lastest update is incompatible. > - Enable blocklisting of hosted apps (currently impossible) Hosted application have identifier based on their manifest URL so the runtime can take care of that. The same that Gecko has code to block malicious addons. > - Allow hosted apps to change domains (i.e.: "acmeapp.com" moves to > "getacme.com"; app changes from HTTP to HTTPS; currently impossible) Can't the runtime be clever and if there is an HTTP REDIRECT when trying to update a manifest? It would automatically make that happen if the redirection points to a valid manifest. -- Mounir _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
