Skip to content
项目

关于

Let users rate your app using native review app dialog for both Android and iOS.

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文


In App Review

@capacitor-community/in-app-review

Capacitor Plugin for prompting users to submit app store reviews.


[!NOTE] This repository is the successor to capacitor-rate-app by Nodonisko.

Please migrate for continued support and updates.

Introduction

This plugin lets you prompt users to submit app store ratings and reviews without the inconvenience of leaving your app. It uses the built-in native UI components that iOS and Android provide.

Example of the in-app review flow for a user on Android:

[!IMPORTANT] To protect user privacy and avoid API misuse, there are strict guidelines that your app should follow.

Design guidelines Android: source
Design guidelines iOS: source, source, source, source

[!IMPORTANT] If - during development and testing - the dialog is not shown, make sure all prerequisites have been met. Generally that means following the design guidelines and making sure your test environment is setup correctly.

Design guidelines: see explainer paragraph above
Test Environment setup Android: source
Test Environment setup iOS: source

Installation

npm install @capacitor-community/in-app-review
npx cap sync

Usage

import { InAppReview } from '@capacitor-community/in-app-review';

InAppReview.requestReview();

Android

Variables

This plugin will use the following project variables (defined in your app's variables.gradle file):

  • googleAndroidPlayReviewVersion: version of com.google.android.play:review (default: 2.0.2)

API

requestReview()

requestReview() => Promise<void>

探索相关项目

加载中…