Application Review
Configure
Configuration by using the Unity Settings Inspector.
Please, fill the following settings in the settings inspector (ask your release manager for those parameters).
iOS
- App Review Enabled - turn on/off the review dialog
- App Store Id - application id in the App Store
- App Review Days Delay - the number of days until the dialog reappears if the user didn't go to GooglePlay for rating
- App Review Seconds Delay - the number of seconds delay, elapsed since the launch
Android
- App Review Enabled - turn on/off the review dialog
- App Skin Name - your skin name
- App Review Days Delay - the number of days until the dialog reappears if the user didn't go to GooglePlay for rating
- App Review Seconds Delay - the number of seconds delay, elapsed since the launch
Usage
To call the application review dialog for the first time, use the applicationReview method of the Platform101XP class:
P101XP.GetInstance().AppReview();
If you don't need delays and related logic you can use the forcedApplicationReview method.
That method shows the application rate dialog without delays.
P101XP.GetInstance().ForcedAppReview();
If the user has no rated the app, the dialog is called automatically after successfull authorization with delays in AppReviewDaysDelay, AppReviewSecondsDelay. Also, the application review dialog is called automatically, if the user has rated application negatively.
If the user has already rated the application positively, the dialog doesn't show on AppReview() and ForcedAppReview().