gwa.app API
Functions for querying version numbers and for working with application updates.
Function | Description |
---|---|
|
Checks if the application is up to date by comparing versions and date time stamps. |
|
Returns the date time stamp of when the application was built. |
|
Returns the version of the GBC embedded in the application. |
|
Returns the application version information. |
|
Returns server application version information. |
|
Returns the application title set by gwabuildtool
--title . |
|
Returns the application version set by gwabuildtool
--app-version . |
|
Update the application. |
|
Set the href of the index page. |
|
Simulate a browser update (service worker update) and reload the page if the update was ok. |
|
Checks if the application is up to date by calling
checkUpToDate() . |
|
Checks if the versions and build date-time stamps are equal. If
versions are NULL , only build date-time stamps are compared for
equality. |