Skip to content

Instantly share code, notes, and snippets.

@wajahatkarim3
Created June 27, 2022 19:39
Show Gist options
  • Save wajahatkarim3/95d663ef259553c2d157e2cdee56f475 to your computer and use it in GitHub Desktop.
Save wajahatkarim3/95d663ef259553c2d157e2cdee56f475 to your computer and use it in GitHub Desktop.
if (reviewInfo != null) {
val reviewflow = reviewManager!!.launchReviewFlow(this, reviewInfo!!)
reviewflow.addOnCompleteListener {
Toast.makeText(
applicationContext,
"In App Rating complete",
Toast.LENGTH_LONG
).show()
}
} else {
Toast.makeText(applicationContext, "In App Rating failed", Toast.LENGTH_LONG).show()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment