sysapps / runtime

Runtime and Security Model for Hosted Web Applications and Packaged Applications
6 stars 13 forks source link

Launch an installed packaged application #44

Open mounirlamouri opened 11 years ago

mounirlamouri commented 11 years ago

With a hosted app, when same origin, you can launch() the application. But you can't be same origin with a packaged application so you can't start it from outside the application.

sicking commented 11 years ago

This is currently possible for the website which installed the app. For example a store that installs a packaged app is able to launch that packaged app. This is doable by using getInstalled() to get a reference to the App object for the packaged app, and then calling .launch() on it.

sicking commented 11 years ago

Solving issue #45 might also solve this.

mounirlamouri commented 11 years ago

On 09/04/13 11:35, Jonas Sicking wrote:

This is currently possible for the website which installed the app. For example a store that installs a packaged app is able to launch that packaged app. This is doable by using getInstalled() to get a reference to the App object for the packaged app, and then calling .launch() on it.

The idea was to have any application being same-origin to be able to launch the application, not only the store.

45 might indeed fix this.