cordova-plugin-app-store-review-prompt
v1.0.2
Published
Prompt the app user for a review of your app.
Downloads
13
Maintainers
Readme
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.
});