RequestStoreReview - not working

I am sure I am doing something wrong but for some reason this does not work for me.
I read a number similar topics but still did not resolve this problem.
I want to have the IOS rating in my app just like the demos.

Can anyone explain to me step by step what I should do to make it work in my app.

Hi, my only suggestion would be to check your version of unity. I think this feature was introduced in 2017.1, so if you’re on a previous version it won’t work. Also you need to build through Xcode I believe.

I upgraded and tried it yesterday and it worked fine :slight_smile:

Hope that helps!

public static bool RequestStoreReview();

Is this the only line of code I have to enter into my C# script or do I have to do something else?

I think you’ve just pasted that line of code from the Unity Manual without any real understanding of what it means…

At the top of your script add:
using UnityEngine.iOS

Then in your code where you want to trigger it call:
Device.RequestStoreReview ();

You’ll be able to test it by running your game on a device via Xcode, it won’t work through TestFlight.

5 Likes