Unity RateMe Plugin

Description

The RateMe plugin helps you to make your users rate and add a comment to your app (on the AppStore for iOS devices and on the Play Store for Android devices). It works by doing

This package contains:

Installation

ioPixel provides a standard Unity package. To install it in your Unity project, two solutions:

For convenience, an example scene is included in the package.

Configuration

To receive OnRemindMeClickedEvent, OnRateClickedEvent and OnCancelClickedEvent, You must add the RateMeListener prefab in your project; see the example scene.

FAQ

Full API Specification

// Open a native (iOS or Android) popup dialog with a title, a message,
// and 3 buttons labels (rate / remindme and cancel button).
// The popup doesn't open in the following cases:
//   - The user already clicked on the "Rate" button
//   - The user already clicked on the "Cancel" button
//   - The user clicked on the "RemindMe" button and the "remindMeDelay" is not yet elapsed
void askToRate(string appID, string title, string message, string rateButton, string remindMeButton,
string cancelButton) 

// Set the RemindMe Delay (default it 5 days), for instance:
//   - Set RemindMe Delay for 2 days: setRemindMeDelay(new System.TimeSpan(2, 0, 0, 0));
//   - Set RemindMe Delay for 3 hours: setRemindMeDelay(new System.TimeSpan(0, 3, 0, 0));
//   - Set RemindMe Delay for 5 hours 35 minutes 12 seconds: setRemindMeDelay(new System.TimeSpan(0, 5, 35, 12));
void setRemindMeDelay(System.TimeSpan newDelay) 

// Get the RemindMe Delay
int getRemindMeDelay() 

// Reset state. The next "askToRate" call will open the dialog (call
// this method if you want to override user response)
void resetState()