Rating (v5.4+)

Apps Panel offers a rating module allowing users to rate the application.

This module can be managed from the back office but developers are able to request a rating manually by calling the following method :

APRatingManager.request()

A listener parameter is available to manage your call state :

APRatingManager.request(object : OnAPRatingListener {
                override fun onStart() {
                    //Display loader
                    binding.loader.visibility = View.VISIBLE
                }
                override fun onEnd(result: Boolean) {
                    //Hide loader or/and display result
                    binding.loader.visibility = View.GONE
                }
            })