Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Play In-App Review API: How long is the ReviewInfo object valid?

In the documentation it's stated that the ReviewInfo object is only valid for a limited amount of time:

Note: The ReviewInfo object is only valid for a limited amount of time. Your app should request a ReviewInfo object ahead of time (pre-cache) but only once you are certain that your app will launch the in-app review flow.

How long (roughly) is the ReviewInfo object valid?

For example, can a game fetch the ReviewInfo at startup (if the user has played long enough), and then launch the review flow only if the user beats their high score, which could be 5, 10, 30 minutes down the line?

like image 409
dlavapad Avatar asked Aug 22 '20 08:08

dlavapad


People also ask

How long does Google app review take?

It usually takes hours (1 to 2 hours) to approve (by google) and publish your app on play store for downloads. But, How do I submit an Android APP?

How do I test Google app Review on Android?

Test using an internal test trackUpload your app to the internal test track and install it on a device with a user account that has access to the internal test track. When using an internal test track, the following conditions must be met: The user account is part of the Internal Test Track.


1 Answers

So, I did some testing on this issue and found out that the ReviewInfo remained valid for more than 2 hours, but less than 3.

I tested it by loading the ReviewInfo object during the app startup process and while the app was open I increased the device's time by 3 hours. In this case, it didn't work, but it did work when I used 2.

I also tested it with more hours (even days) and it never worked, but coming back to 2 hours made the dialog appear normally, so I think that's their current threshold. Note though that according to the documentation they can change this anytime, so trade carefully.

like image 70
RodXander Avatar answered Oct 21 '22 01:10

RodXander