1.0.2 • Published 6 years ago

cordova-plugin-app-store-review-prompt v1.0.2

Weekly downloads
23
License
ISC
Repository
github
Last release
6 years ago

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.
});