Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Rate My App! - how to create it?

Discussion in 'Android' started by sheva, Mar 23, 2012.

  1. sheva

    sheva

    Joined:
    Nov 22, 2010
    Posts:
    157
    Hi everybody,
    can anyone explain if there's any way to make app's users rate it from the game, please? I mean, should I use a plugin or there's an URL to open or if there's a smarter solution for it.

    Thank you,
    Nikolai
     
  2. Moredice_legacy

    Moredice_legacy

    Joined:
    Jan 31, 2010
    Posts:
    101
    Android Market Developer Program Policies
    http://www.android.com/us/developer-content-policy.html#showlanguages

    Spam and Placement in the Store
    Developers are important partners in maintaining a great user experience in Android Market.

    Do not post repetitive content.
    Product descriptions should not be misleading or loaded with keywords in an attempt to manipulate ranking or relevancy in the store’s search results.
    Developers also should not attempt to change the placement of any Product in the Store by rating an application multiple times, or by offering incentives to users to rate an application with higher or lower ratings.
    Do not post an app where the primary functionality is to link to the website or the webview of a website not owned by you (unless you have permission from the website owner to do so).

    Specifically:
    Developers also should not attempt to change the placement of any Product in the Store by rating an application multiple times, or by offering incentives to users to rate an application with higher or lower ratings.

    This may as well include offering an incentive to the users of your app to rate your app in exchange for a reward within the app to the user.
     
    Last edited: Mar 23, 2012
    LOSTSOUL86 likes this.
  3. Joel-Santos

    Joel-Santos

    Joined:
    Feb 23, 2010
    Posts:
    121
    Yet.. Some very popular games do offer you things to rate their games.
     
  4. sheva

    sheva

    Joined:
    Nov 22, 2010
    Posts:
    157
    Ok, it wont be a problem with android's Policies. I only need the way to make it :)
    Anyone knows it?
     
    ashkanslh and taimur_azhar like this.
  5. Joel-Santos

    Joel-Santos

    Joined:
    Feb 23, 2010
    Posts:
    121
    I have a small button in the initial menu that opens a URL. In the device it automatically opens the market

    Code (csharp):
    1. if (GUI.Button (new Rect (70, 480 - 124, 128, 64), rate))
    2.                 Application.OpenURL ("market://details?id=com.trollugames.caverun3d");
     
  6. Moredice_legacy

    Moredice_legacy

    Joined:
    Jan 31, 2010
    Posts:
    101
    Yes indeed, but it's against the policy.


    @Sheva I really don't know, I've not dug into it. But most likely you need to build a sort of framework to tie in with the rating function of Google Play, and then perform a check to see if the user rated the app at a full 5 stars. joelsantos' example works if you simply want to refer the user to the page where they can rate the app.
     
    Last edited: Mar 23, 2012
  7. JSorrentino

    JSorrentino

    Joined:
    Feb 28, 2012
    Posts:
    50
    "should not" != "can not".

    It's a recommendation by the Google Market. People do it anyway. If you wish Google to possibly feature your app in some way, don't do it.
     
  8. Moredice_legacy

    Moredice_legacy

    Joined:
    Jan 31, 2010
    Posts:
    101
    That is their policy, and it's wise to follow it. A report is enough to have your application removed seen it breaks with their policy, or even worse have your account closed if you did so in several apps.
     
    awsapps likes this.
  9. Chris-Clark

    Chris-Clark

    Joined:
    Jan 16, 2012
    Posts:
    130
    That is only about offering incentive to rate.

    If on the 5th load or something you just ask them to rate it, it isn't against the policy. No incentive, just a, "Please rate this app if you found it helpful."
     
    awsapps and PatiEngel like this.
  10. Dadaze

    Dadaze

    Joined:
    Sep 21, 2012
    Posts:
    24
    I know this is a major archeological resurfacing, but isn't the policy against incentive the player to rate a game higher (or lower) than he would have and not about giving incentive to rate, there's an important difference there
     
    polyphonic13 and PatiEngel like this.
  11. KhShani

    KhShani

    Joined:
    Dec 12, 2013
    Posts:
    1
    @Joel Santos: And what for iOS, if you tell me! As its not working. Thanks in advance
     
  12. hatimalconcel

    hatimalconcel

    Joined:
    Nov 17, 2015
    Posts:
    1
    sathya and CletoPadua like this.
  13. Finello

    Finello

    Joined:
    Feb 16, 2016
    Posts:
    2
    This is my code:
    Code (CSharp):
    1.  
    2. using System.Collections;
    3. using System.Collections.Generic;
    4. using UnityEngine;
    5.  
    6. /// <summary>
    7. /// Open dialog for app rating
    8. /// </summary>
    9. public class AppRating : MonoBehaviour {
    10.  
    11.     private const string AndroidRatingURI = "http://play.google.com/store/apps/details?id={0}";
    12.     private const string iOSRatingURI     = "itms://itunes.apple.com/us/app/apple-store/{0}?mt=8";
    13.  
    14.     [Tooltip("iOS App ID (number), example: 1122334455")]
    15.     public string iOSAppID="";
    16.  
    17.     private string url;
    18.  
    19.     // Initialization
    20.     void Start () {
    21. #if UNITY_IOS
    22.         if (!string.IsNullOrEmpty (iOSAppID)) {
    23.             url = iOSRatingURI.Replace("{0}",iOSAppID);
    24.         }
    25.         else {
    26.             Debug.LogWarning ("Please set iOSAppID variable");
    27.         }
    28.  
    29. #elif UNITY_ANDROID
    30.         url = AndroidRatingURI.Replace("{0}",Application.identifier);
    31. #endif
    32.     }
    33.  
    34.     /// <summary>
    35.     /// Open rating url
    36.     /// </summary>
    37.     public void Open ()
    38.     {
    39.         if (!string.IsNullOrEmpty (url)) {
    40.             Application.OpenURL (url);
    41.         } else {
    42.             Debug.LogWarning ("Unable to open URL, invalid OS");
    43.         }
    44.     }
    45. }
    46.  
     
  14. CrazyApplesStudio

    CrazyApplesStudio

    Joined:
    Jan 18, 2018
    Posts:
    25
    Sorry for grave-digging but i wonder if anyone knows the code that opens the store with the app directly at the rating section, i think i have seen this done in a few games , where once you press the rate button you are taken directly on the rate section of the app page ready to leave your feedback.
     
  15. shivampip

    shivampip

    Joined:
    Jul 23, 2017
    Posts:
    3
    On Button click execute this line of code

    Code (CSharp):
    1. Application.OpenURL("market://details?id=" + Application.productName);
     
    flystudiosassets likes this.
  16. CrazyApplesStudio

    CrazyApplesStudio

    Joined:
    Jan 18, 2018
    Posts:
    25
    That opens the store correct(it was what i had implemented) but i swear i saw some games take you directly to the rating section and not top of the page . Maybe my question was not clear but what i wonder if there is a way to take a user to the store listing at the Rate section and trigger the Rate function on the store page at the same time.
     
  17. abi-kr01

    abi-kr01

    Joined:
    Aug 6, 2013
    Posts:
    4
  18. daniozi117

    daniozi117

    Joined:
    Mar 4, 2016
    Posts:
    27
    how to create rate us and more app link open in samsung galaxy App Store?
     
  19. nicloay

    nicloay

    Joined:
    Jul 11, 2012
    Posts:
    535
  20. Jelmersb

    Jelmersb

    Joined:
    Jul 12, 2016
    Posts:
    66
    TractGames likes this.
  21. mauricioxnobre

    mauricioxnobre

    Joined:
    Jun 9, 2021
    Posts:
    3
    I'm sorry to bring this subject again, but I'm not sure I understand.

    Is it ok or not ok to just ask the user to rate the app (without giving any incentives or rewards)?
     
  22. Paulx774

    Paulx774

    Joined:
    Mar 18, 2021
    Posts:
    103
    I think, you should use the Google's way. Without redirecting the player, you can show them a "rate my app" popup.

    https://developer.android.com/guide/playcore/in-app-review/unity
     
    ashkanslh and mauricioxnobre like this.