Created
June 27, 2022 19:39
-
-
Save wajahatkarim3/95d663ef259553c2d157e2cdee56f475 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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