# App Review

{% hint style="info" %}

<pre data-overflow="wrap"><code>You'll need to import the javascript file in your website before starting from this <a data-footnote-ref href="#user-content-fn-1">link</a>.
</code></pre>

{% endhint %}

The App Review Add-on enables you to prompt your users to rate and review your app on respective app store listing page.

<div align="left"><figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FJxJh8Ci8LgX2YyJ3yz4V%2FSimulator%20Screen%20Shot%20-%20iPhone%2012%20-%202023-01-31%20at%2019.56.59%20(1).png?alt=media&#x26;token=00ecb521-7273-446c-a6c7-0e0c6762f5d9" alt=""><figcaption><p>Apple App Store App Review</p></figcaption></figure> <figure><img src="https://46162361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbRbEDU7JrvMAgg52AY%2Fuploads%2FHkd8tLpl4tfceiOi59r6%2FWhatsApp%20Image%202023-03-14%20at%209.27.04%20PM%20(1).jpeg?alt=media&#x26;token=ee5ce1bc-b3df-49ea-9e8a-dbc4bc709378" alt=""><figcaption></figcaption></figure></div>

To show Native App Review

{% tabs %}
{% tab title="Plain JS" %}

```markup
const { appReview: AppReview } = window.WTN

AppReview.prompt()

```

{% endtab %}

{% tab title="ES 6+" %}

```
import { prompt } from "webtonative/AppReview"

prompt()

```

{% endtab %}
{% endtabs %}

## Notes on prompting for a review

The Apple App Store controls the actual display of this alert so it may not show for some cases. This is to prevent frequent rating prompts which can be irritating for users. See more details in [Apple's Documentation](https://developer.apple.com/documentation/storekit/requesting_app_store_reviews)

[^1]: <https://docs.webtonative.com/javascript-apis/getting-started>
