Skip to main content
Version: 1.51.x

Application Review

Configure

Please ask your manager for those values.

For configure you should add P101XPSkinName to your Info.plist.

<key>P101XPSkinName</key>
<string>your_skin_name</string>

Then, add P101XPGameAppName to your Info.plist.

<key>P101XPGameAppName</key>
<string>your_game_name</string>

A mandatory condition for displaying the application review dialog is the parameter P101XPAppReviewEnabled which should be added to info.plist.

<key>P101XPGameAppNameAppReviewEnabled</key>
<true/>

Next, add the following parameters to info.plist: P101XPAppstoreId, P101XPAppReviewSecondsDelay and P101XPAppReviewDaysDelay:

P101XPAppstoreId - application ID in the AppStore

<key>P101XPAppstoreId</key>
<string>your_appstore_id</string>

P101XPAppReviewSecondsDelay - the number of days until the dialog reappears if the user didn't go to AppStore for rating. The default value is 30 seconds.

<key>P101XPAppReviewSecondsDelay</key>
<string>30</string>

P101XPAppReviewDaysDelay - the number of seconds delay, elapsed since the launch. The default value is 7 days.

<key>P101XPAppReviewDaysDelay</key>
<string>7</string>

Usage

To call the application rate dialog for the first time, use the applicationReview method of class P101XP:

[P101XP applicationReview];

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 forcedApplicationReview];
info

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 applicationReview and forcedApplicationReview.

If you need call the application rate dialog under the following conditions:

  • if this is the first time the window has been shown to this player.
  • if the player has already seen this window and clicked in the window "show later" or selected a rating of 3 or lower, or simply closed the game.

use the additionalApplicationReview method of class P101XP:

[P101XP additionalApplicationReview];
info

If the player during the first and subsequent impressions clicked 4 or 5 stars in the sdk window, then more when calling the method, the rating window is not shown to this player. Also, if the player put 3 stars or less and wrote the text in the feedback box, then this message is sent to the analytics.