You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Application update/uninstall behavior when it is running If an application is in running state, and at the moment RuntimeInstaller try to update/uninstall it, what should be the expected behavior?
And:
About application update, is it better to support auto-update through adding a ‘update_url’ in application manifest file?
For the first issue, I think that if the ApplicationManagement.applyUpdate() is called on a running or paused app, then the app should be terminated and the update should be applied. I'm not sure if we should allow the application to execute its termination callbacks, but I'm leaning towards allowing it.
As for the second issue, auto-update is already possible by checking if the original manifest was changed? IMHO adding update_url to the manifest adds unnecessary complexity.
Activity
jmajnert commentedon May 9, 2013
For the first issue, I think that if the ApplicationManagement.applyUpdate() is called on a running or paused app, then the app should be terminated and the update should be applied. I'm not sure if we should allow the application to execute its termination callbacks, but I'm leaning towards allowing it.
As for the second issue, auto-update is already possible by checking if the original manifest was changed? IMHO adding update_url to the manifest adds unnecessary complexity.