ShowRatingAlert
Shows the in-app rating.
info
- Ratings can only be submitted on the Release version, and not the Debug version.
- Under normal circumstances, the rating window should be able to pop up on the Debug version if the function works correctly.
Android quota limit:
Due to the time-bound quota on Google Play, the review dialog may not display when called multiple times within a short period of time.
For more information, see Google Play In-App Reviews API.
iOS quota limit:
StoreKit displays rating and review requests up to three times in 365 days if the user has not yet rated or reviewed your app on this device.
If the user has already rated or reviewed your app on this device, StoreKit displays ratings and review requests if the app version is new and it has been more than 365 days since the user's last review.
For more information, see requestReview.
Supported platform
- Unity
- Unreal Engine
Supports
Android, iOS
platform.Supports
Android, iOS
platform.Function definition
- Unity
- Unreal Engine
void ShowRatingAlert();
static bool ShowRatingAlert();
Code sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetToolsService().ShowRatingAlert();
GUA_NAMESPACE::GetToolsService::ShowRatingAlert();