- Android
- iOS
Store Review
Ask a supported app store to show its native review prompt.
Quick start
Availability and whether the prompt appears are controlled by the platform.
nayan-ui/review
import { review } from 'nayan-ui/review';
export async function askForReview() {
if (await review.isAvailable()) await review.requestReview();
}Offer a store link when the native prompt is unavailable
Invoke this from an explicit review action. A supported platform may still decline to show its prompt.
nayan-ui/review
import { review } from 'nayan-ui/review';
export async function reviewAction(openStorePage: () => void) {
if (await review.isAvailable()) {
await review.requestReview();
} else {
openStorePage();
}
}