Skip to content

thomaslindstrom/cordova-plugin-app-store-review-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Prompt the app user for a review of your app.

Resources

Stars

Watchers

Forks

Packages

No packages published