Updates an application, that has been identified by means of an application ID or application's URL address.
This call will have no effect if the application is running.
Name | Description | Type | Use |
---|---|---|---|
application | The current application's ID or URL address. |
string |
required |
newUrl | The updated application's URL address. NoteIf the new application's URL address is not provided, the cache-manifest based update method will be used. |
string |
optional |
username | Overrides the identifier parameter set by the AccountManager . | string |
optional |
password | Overrides the username parameter set by the AccountManager . | string |
optional |
userInfo | An object that contains one boolean parameter
usesWebAppDescriptor , which specifies if an app must use the
cache manifest. |
string |
optional |
allowCachingFail | When set to "true", if application caching fails, the update attempt is not repeated until next update. This parameter is supported on iOS devices only. | boolean |
optional |