requestReview
Triggers the host (Toss) app's App Store / Play Store review prompt. Whether the OS actually shows the dialog is up to the platform (iOS StoreKit / Android Play In-App Review) — the call does not guarantee that a prompt appears.
Signature
import { requestReview } from '@apps-in-toss/web-framework';
declare function requestReview(): Promise<void>;
Parameters
None.
Returns
Promise<void>— resolves once the request is delivered. The return value gives no information about whether the dialog was actually shown.
No display guarantee
Both iOS and Android throttle review prompts internally to prevent spam. A prompt visible in development may never appear for real users. Ask at most once per meaningful milestone.
Permission
No permission required.
Examples
Minimal
import { requestReview } from '@apps-in-toss/web-framework';
await requestReview();
Realistic — prompt after a meaningful milestone
import { requestReview } from '@apps-in-toss/web-framework';
// Ask for a review when the user completes their 5th order.
async function onOrderComplete(orderCount: number) {
if (orderCount === 5) {
await requestReview();
}
}
Try it live
Open the Navigation page in sdk-example and run the requestReview card.
Related APIs
closeView— close the current mini-app view.
Related guides
External references
@apps-in-toss/web-framework— SDK package. The actual exports are re-exported from@apps-in-toss/web-bridge.