Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question In App Reviews on Android?

Discussion in 'Android' started by Android272, Apr 23, 2024.

  1. Android272

    Android272

    Joined:
    Oct 14, 2016
    Posts:
    25
    A little while ago I found a tutorial, that showed how easy it was to impliment In App Reviews for Android. you just Import Google Play Core, write a few lines in a single method, call method, your done. I went to the package manager and I can't find Google Play Core.

    I remembered the tutorial mentioning GitHub, so I went to GitHub, I could not find that package but I found two others that might have what I needed. It took me like an hour and a half to get one of the packages to work on my computer having to install java and gradle. Looking into the documentation, I found a bunch of pages explaining in app reviews and showing some code to activate them, but not how to install it in Unity.

    Finally I found out that Google Play Core has been deprecated and split out into smaller functions so that you don't have to have all of core while only needing a few parts. So that means each part has its own package and Google made it really easy to figure out how to install each ... No ‍↔️ ... I can not find any documentation in the last two years on how to get in app reviews working. I did find a few asset store packages that will do everything for you for $10 and under. But not how to do it yourself. If it was complicated I would spend $10 for this but it was a few lines of code only 3 years ago.

    How do I get the packages needed to perform simple tasks like in app reviews on Android into Unity? What am I missing?
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    12,015
    Not much, just Unity offloading the platform stuff to the platform owners and platform owners half assing them.
     
    FamishedMammal and Android272 like this.
  3. Android272

    Android272

    Joined:
    Oct 14, 2016
    Posts:
    25
    Well at least its not me missing something, last few days have been frustrating trying to figure out "the new way" of doing this. I guess the new way then is to roll your own java code that hooks into androids system?
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    12,015
    We did manage to get the Google package for reviews to work, but I don’t remember what we did exactly, I’ll take a look tomorrow.
     
  5. Android272

    Android272

    Joined:
    Oct 14, 2016
    Posts:
    25
    I took one more look through the google search and found this. You can download unity packages here, just drag and drop the .unitypackage into your project and import all the assets (you may need Java and gradle installed and set up in your environment variables). Their documentation shows the scripts on how to use in-app-review here. The initial tutorial I found a few weeks ago still works, and shows some problems with the scripts form the documentation and how to fix them. Unfortunately I can not test this feature until I set up my developer account and publish my app or set up internal test tracks or internal app sharing (Source).