Skip to content

Instantly share code, notes, and snippets.

@pushlink
Last active October 22, 2017 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pushlink/1a47d8b9710cd4e9e604 to your computer and use it in GitHub Desktop.
Save pushlink/1a47d8b9710cd4e9e604 to your computer and use it in GitHub Desktop.
/**
* This method checks if there is a downloaded but not applied update. It
* also notify the user again. It is useful for "Check for updates"
* button.
*
* @return true if there is a pending update
*/
PushLink.hasPendingUpdate();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment