Skip to content

Instantly share code, notes, and snippets.

@kfaraj
Created January 5, 2021 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kfaraj/805b50f3ec5c423f8da16c101cfe5fa5 to your computer and use it in GitHub Desktop.
Save kfaraj/805b50f3ec5c423f8da16c101cfe5fa5 to your computer and use it in GitHub Desktop.
val reviewManager = ReviewManagerFactory.create(this)
reviewManager.requestReviewFlow()
.addOnCompleteListener { task ->
if (task.isSuccessful) {
reviewManager.launchReviewFlow(this, task.result)
.addOnCompleteListener {
// Continue the normal user flow.
}
} else {
// Continue the normal user flow.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment