Class: UpdateChecker
¶
Function: checkForNewVersion
¶
Public method that compares the current version with the latest version online
Returns: The newer version number if there is a new version, ‘null’ otherwise
-
checkForNewVersion
()¶
Function: getReferenceVersion
¶
-
getReferenceVersion
()¶
Function: getOnlineRefVersion
¶
-
getOnlineRefVersion
()¶
Function: getLocalVersion
¶
-
getLocalVersion
()¶
Function: getCachedRefVersion
¶
Tries loading the cached information about the NRP latest reference version
Returns: [version, invalid], where ‘version’ is the cached version and ‘invalid’ is a boolean validity flag (true => invalid)
-
getCachedRefVersion
()¶
Function: saveCachedRefVersion
¶
-
saveCachedRefVersion
()¶
Function: isNewVersion
¶
-
isNewVersion
()¶
Function: onExit
¶
-
onExit
()¶
Member: CHECK_UPDATE_URL
:
Member: CHECK_UPDATE_ENABLED
:
Member: RELEASE_NOTES_URL
:
Member: LOCAL_STORAGE_KEYS
:
Member: CHECK_FREQUENCY
:
Member: nrpFrontendVersion
:
Member: $http
:
Member: $q
:
Member: bbpConfig
: