Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Rate out of my application?

Discussion in 'Scripting' started by Deleted User, Nov 30, 2015.

  1. Deleted User

    Deleted User

    Guest

    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. :/ I am searching a solution for Android as well as for iOS.

    Any useful links or documentation out there?

    10000 Thanks in advance!
     
  2. woodsynzl

    woodsynzl

    Joined:
    Apr 8, 2015
    Posts:
    156
    Could just link them to the App/Play Store page? Then they could rate from there
     
  3. Munchy2007

    Munchy2007

    Joined:
    Jun 16, 2013
    Posts:
    1,732
    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
    Code (CSharp):
    1. void OnRateButtonClick(){
    2.      #if UNITY_ANDROID
    3.      Application.OpenURL("market://details?id=YOUR_APP_ID");
    4.      #elif UNITY_IPHONE
    5.      Application.OpenURL("itms-apps://itunes.apple.com/app/idYOUR_APP_ID");
    6.      #endif
    7.      }
    8.