简体   繁体   中英

How to track the events like rating, submit or cancel button of Google In-App review Android

I have successfully implemented In-App review in the app, it is working fine. My question is how can I trigger firebase analytics or moengage event analytics of Google In-App review dialog like rating(how many stars user has given), submit and cancel button of In-App dialog.

I think you can get some info from documentation . Where you can see such code:

ReviewManager manager = ReviewManagerFactory.create(this);
Task<ReviewInfo> request = manager.requestReviewFlow();
request.addOnCompleteListener(task -> {
    if (task.isSuccessful()) {
        // We can get the ReviewInfo object
        ReviewInfo reviewInfo = task.getResult();
    } else {
        // There was some problem, continue regardless of the result.
    }
});

so you can call this scope. You can also read about handling reviewing process here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM