Created
May 27, 2019 18:02
-
-
Save dhruvtaneja/3a1a56bdaa535340eb4251bab87929a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun onResume() { | |
super.onResume() | |
appUpdateManager.appUpdateInfo.addOnSuccessListener { | |
if (it.installStatus() == InstallStatus.DOWNLOADED) { | |
notifyUser() | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment