Rate out of my application?

Hello!

I’d like to give my users the possibility to rate out of my application without leaving the app. Didn’t found anything helpful via google. :confused: I am searching a solution for Android as well as for iOS.

Any useful links or documentation out there?

10000 Thanks in advance!

Could just link them to the App/Play Store page? Then they could rate from there

As far as I could tell when I looked into it, the only way to ask users to rate the game is by directing them to the store.

I used this code

void OnRateButtonClick(){
     #if UNITY_ANDROID
     Application.OpenURL("market://details?id=YOUR_APP_ID");
     #elif UNITY_IPHONE
     Application.OpenURL("itms-apps://itunes.apple.com/app/idYOUR_APP_ID");
     #endif
     }