Created
January 5, 2021 15:41
-
-
Save kfaraj/805b50f3ec5c423f8da16c101cfe5fa5 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
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