React Native · APIs and utilities
App review
App rating.
2 exports
Import
Review
moduleApp rating.
| Name | Type | Description |
|---|---|---|
isAvailable | () => Promise<boolean> | Whether the in-app review prompt is available (Android: whether the Play Store is installed). |
request | () => Promise<boolean> | Requests the in-app review prompt. The system decides on its own whether to show it (at most 3 times a year on iOS) and does not report the result: do not bind it to a button; call it at a positive moment (a task completed). true if the request could be sent; false without the Play Store (Android), in which case use Review.openStorePage. |
openStorePage | (options?: StorePageOptions) => Promise<boolean> | Opens the app's page in the store. true if it could be opened. |
StorePageOptions
interfaceOptions of Review.openStorePage.
| Name | Type | Default | Description |
|---|---|---|---|
appStoreId? | string | iOS: App Store id (numeric, without the id prefix). Required on iOS. | |
androidPackage? | string | Android: package name. Defaults to this app. | |
write? | boolean | false | iOS: the write-a-review screen directly. |