cordova-plugin-app-store-review-prompt

1.0.2 • Public • Published

cordova-plugin-app-store-review-prompt

Prompt the app user for a review of your app.

Methods

prompt

Opens a SKStoreReviewController prompt if available, throws an error if it's not. You will need to handle devices on < iOS 10.3+ yourself.

Example:

const {AppStoreReviewPrompt} = window.cordova.plugins;
 
AppStoreReviewPrompt.prompt(() => {
    console.log('Prompted successfully.');
}, (error) => {
    console.error(error.message); // > SKStoreReviewController not supported.
});

Package Sidebar

Install

npm i cordova-plugin-app-store-review-prompt

Weekly Downloads

2

Version

1.0.2

License

ISC

Last publish

Collaborators

  • thomaslindstr_m