@valor/nativescript-in-app-review
by valor | v1.1.0
Native in-app review popups for NativeScript apps
npm i --save @valor/nativescript-in-app-review

@valor/nativescript-in-app-review

       

ns plugin add @valor/nativescript-in-app-review

Usage

import { InAppReview } from '@valor/nativescript-in-app-review';

InAppReview.requestReviewPopup();

Quotas and limitations

Due to limitations on both Android and iOS, there are no guarantees that the user will be presented with the popup after invoking the requestReviewPopup() method. And there's no way of knowing if the user was prompted for a review or not, nor if they left a review. Because of that, it's not recommended to invoke the method upon an user action (like a button tap).

Android

  • Production builds have a quota of around 1 prompt per month;
  • Development builds will never show the popup;
  • Internal testing builds will always show the popup, however, there's a bug on the play store that requires its app data to be cleaned up after a successful prompt. You can read more about the issue and the workaround here;

You can read more about quotas and testing for Android here.

iOS

  • Production builds have a quota of 3 prompts per year for each unique build number (i.e., bundle id).
  • Development builds will always show the popup.
  • TestFlight builds will never show the popup.

You can read more about quotas and testing for iOS here.

License

Apache License Version 2.0