Runtime and Security Model: auto-trigger installation of hosted apps

Hi

The Runtime and Security Model specification only defines a programmatic API to trigger installation of an application (using ApplicationRegistry.install()).
Although this model suits the packaged application model, which can only be accessed when explicitly installed, it is less convenient for hosted applications, that may be accessed while navigating in a browser. Wouldn't it be pertinent to define a way by which a UA could detect the presence of the manifest and automatically offer the user to install the application? This would avoid the need for the app to include a script checking if the app is installed, and triggering installation if not.
The Runtime and Security Model specification could define a meta tag name (eg "sysapp-manifest-url", or simpler "app-manifest") that could be inserted in any html page within the sys app origin. For instance:


<meta name="app-manifest" content="https://app.domain.net/path/to/manifest.webapp">

When a UA parses such a meta tag in a page's header, it would:

-          Check if the application is already installed or not

-          If not, prompt user to install it. (not normative: UA will propose "Install" or "Don't install", and may also offer "Never" and remember this user choice in the browser preferences)

Regards,

[cid:image001.jpg@01CE87CF.68DA7390]

IIII Olivier POTONNIEE
Technology & Innovation
Tel: +33 (0)442 36 4071 - Mob: +33 (0)643 13 0066
Av. du Jujubier, Z.I. Athelia IV
13705 La Ciotat Cedex, FRANCE
www.gemalto.com<http://www.gemalto.com/> or www.justaskgemalto.com<http://www.justaskgemalto.com/>

[cid:image002.jpg@01CE87CF.68DA7390]

Received on Tuesday, 23 July 2013 16:08:10 UTC