Plugin EcosystemData & Storage
Store Plugin
Provides access to the native App Store and Google Play rating dialogs.
API Reference
requestReview()
Opens the native OS In-App Review dialog, allowing the user to rate the application without leaving it.
| Android | iOS | Web | Desktop |
|---|---|---|---|
| Yes | Yes | No | No |
Returns
Promise<{ success: boolean; error?: string }>
Examples
Requesting a Review
async function askForReview() {
try {
const response = await window.easycord.store.requestReview();
if (response.success) {
console.log("Review prompt displayed successfully.");
} else {
console.warn("Failed to display review prompt:", response.error);
}
} catch (error) {
console.error("Execution Failed:", error);
}
}