Since Google published built-in review API Unity Engine probably will add it to UnityEngine Android package as well? That’s almost identical to iOS review API one.
Any idea when that will happen?
Since Google published built-in review API Unity Engine probably will add it to UnityEngine Android package as well? That’s almost identical to iOS review API one.
Any idea when that will happen?
equally curious!
Google already has a plugin for this
Yes but it would be 100x easier to use Unity built-in one like you do with iOS review API. No need to install more plugins + add unnecessary stuff.
Since external Unity packages are integrated slightly better nowadays using Google’s package is not that pain. Case closed.
Ok, I’ve used it, uploaded my apk tp internal test on play console. downloaded it using a tester account. but still couldn’t show the in app review prompt!
Here are my code snippets:
IEnumerator requestFlowOperationRoutine()
{
Debug.Log("requestFlowOperationRoutine");
_myReviewManager = new ReviewManager();
var requestFlowOperation = _myReviewManager.RequestReviewFlow();
yield return requestFlowOperation;
if (requestFlowOperation.Error != ReviewErrorCode.NoError)
{
Debug.Log("review info error: " + requestFlowOperation.Error.ToString());
IsTryingToAskForReview = false;
yield break;
}
_myPlayReviewInfo = requestFlowOperation.GetResult();
StartCoroutine(launchFlowOperationRoutine());
}
IEnumerator launchFlowOperationRoutine()
{
Debug.Log("launchFlowOperationRoutine");
var launchFlowOperation = _myReviewManager.LaunchReviewFlow(_myPlayReviewInfo);
yield return launchFlowOperation;
_myPlayReviewInfo = null; // Reset the object
if (launchFlowOperation.Error != ReviewErrorCode.NoError)
{
// Log error. For example, using requestFlowOperation.Error.ToString().
Debug.Log("review launch error: " + launchFlowOperation.Error.ToString());
IsTryingToAskForReview = false;
yield break;
}
yield return null;
IsTryingToAskForReview = false;
}
and of couse, I call the first coroutine normally, which in turn call the second one.
any ideas why? other than some weird google play stuff that isn’t working yet!
Edit: 09/05/2020
Ok, tried it on a different device that I was sure that it meets all of google’s requirements to ask for an in app review, and it worked. So, I’m posting the process with which I achieved this.
FIrst, download the in app review package from the package manager. It will also download it’s other dependencies by itself. now go ahead and use something similar to the code I’m using above, or use it as it is if you want! your welcome
Or, you could just follow this tutorial on the code to use,
Then, upload an internal test build to your play store console app page, then add a tester account that you are sure that it hasn’t reviewed the app before! It’s the most crucial condition!
Now, download the app with the internal test link on the device that has the tester account and test you in app review process!
Now, google still has a very weird requirement that asking for the in app review should be within the “quota”! which is some weird (not that weird!) condition, with which google could deny you the in app review request! That being said, I can’t in any capacity guarantee that you’ll get the in app review prompt every time you ask for it in the test phase. So, take notice of that!
Good luck.
Maybe because you’ve already reviewed this app?
I understand, tried it with a different account that’s totally new, and is in the testers list, but always no luck. I would say though that I notice a slight “attempt” to show the review prompt, which goes only as far as the native bottom bar on my phone is shown for some milliseconds and then quickly disappearing again!
I also thought that it might be due to how google handles the quota for asking users for in app reviews. but then there isn’t much documentation on that! So, still not a clue!
Edit: 09/04/2020
Ok, I asked one of the testers to try it, and to my surprise, it worked with him!
I will update my top post so that you guys could make use of this.
I just tryed to get this working.
But i cannot get working _myPlayReviewInfo = requestFlowOperation.GetResult();
How should i declare that?
hey, I am not able to upload it for internal testing, but I uploaded the game, but still unable to show the in-app review dialog, any help?
I have added rate logic to the first goal. It shows navigation buttons of device like something is going to appear but eventually, it shows nothing.
Please check my game,
I have added code snippet here:
private IEnumerator requireRate()
{
// Create instance of ReviewManager
ReviewManager _reviewManager;
// ...
_reviewManager = new ReviewManager();
var requestFlowOperation = _reviewManager.RequestReviewFlow();
yield return requestFlowOperation;
if (requestFlowOperation.Error != ReviewErrorCode.NoError)
{
// Log error. For example, using requestFlowOperation.Error.ToString().
yield break;
}
PlayReviewInfo _playReviewInfo = requestFlowOperation.GetResult();
var launchFlowOperation = _reviewManager.LaunchReviewFlow(_playReviewInfo);
yield return launchFlowOperation;
_playReviewInfo = null; // Reset the object
if (launchFlowOperation.Error != ReviewErrorCode.NoError)
{
// Log error. For example, using requestFlowOperation.Error.ToString().
yield break;
}
// The flow has finished. The API does not indicate whether the user
// reviewed or not, or even whether the review dialog was shown. Thus, no
// matter the result, we continue our app flow.
}
I think we need to release the game in play store and then test this function, also in documentation say the user dont have to be reviewed our game earlier.
I tried using this for my released app. We did not get any new reviews and after testing on 10 different users / devices the prompt wouldn’t show up.
In our experiences with Android apps the review dialog seems to appear only in release build (signed with production key, correct applicationId).
Has anyone experienced the review dialog showing up again even though the player has already reviewed the game?
I am trying to integrate the component to my game in unity. But I get the following error when I use “using Google.Play.Review;”. “The type or namespace name ‘Google’ could not be found (are you missing a using directive or an assembly reference?)”
Why ???
PS: I already have the packages integrated.
Thanks!!
Friend, could you help me with that query I have?
I was having the exact same issue, the Review pop up was not showing. I uploaded an Internal Test version, signed up to PlayStore with a different email than my dev account, etc. Nothing worked.
However, one day later it started working all of a sudden. Even without uploading as an Internal Test version, the pop up now shows in a “Build and Run” from Unity.
Maybe it takes a couple hours to somehow “register” the requests in the dev console?
Hey all,
I want to check whether the user given rating yet or not? Is there any way to get information about it.
I basically want to reward user who has given review, irrespective of what user gave rating.
Thanks in advance!
It’s not yet possible to detect if it’s rated or not.
This is for a known reason that devs won’t be able to spam asking for reviews. As the quota is limited, one approach to handle this is to have a confirmation dialog if the player really wants to rate it just before showing up the in-app review dialog. This way it helps in preserving the quota.
On iOS, quota is 3 per year and on android its not mentioned in the docs.