anyone tried the in-app review in your production ...
# android
b
anyone tried the in-app review in your production app? : https://developer.android.com/guide/playcore/in-app-review
I am only getting a flicker but not able to see the in-app review dialog
• Followed the exact same code given in the above link • Uploaded the app in internal testing channel and downloaded from there. But still no luck
Need Help
Copy code
Toast.makeText(requireContext(), "Trying to show in-app review", Toast.LENGTH_SHORT).show()
        val manager = ReviewManagerFactory.create(requireContext())
        val request = manager.requestReviewFlow()
        request.addOnCompleteListener { request ->
            if (request.isSuccessful) {
                val reviewInfo = request.result
                val flow = manager.launchReviewFlow(requireActivity(), reviewInfo)
                flow.addOnCompleteListener { _ ->
                    Toast.makeText(requireContext(), "on review complete", Toast.LENGTH_SHORT).show()
                }
            } else {
                Toast.makeText(requireContext(), "in-app review failed", Toast.LENGTH_SHORT).show()
            }
        }