Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 674 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 674 Bytes

com.agraris.review

Easy implementation of Google Play In-App Review for Unity.

Usage

using Agraris.Tools;

void Awake()
{
    // Init
    IAReview.InitReview();

    // Enable logging
    IAReview.instance.enableLog = true;
}

void LevelComplete()
{
    // Show Review on LevelComplete
    IAReview.instance.ShowReview(int playFrequency, int dayFrequency, ref DateTime lastShowDate);

    // playFrequency => How many session should player play before showing the review
    // dayFrequency => How many days since lastShowDate review dialog will show
    // lastShowDate => The date of review dialog was last shown. This should be saved to the game save.
}