搜索插件、代码仓与 APP 分类

插件详情v2.1.0

advanced_in_app_review

适用于 iOS 和 Android 的高级应用内评价。仅在满足预设条件(如安装后天数等)后尝试显示应用内评价。

AndroidiOS
近 30 天下载
4450
喜欢数
71
Pub 分数
160

安装插件

flutter pub add advanced_in_app_review

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

高级应用内评论是一个Flutter包,可为Android和iOS提供智能应用内评论提示。它可根据自定义条件(如应用安装后的天数、应用启动次数或特定用户操作)智能触发评论请求。该包旨在提升评论率,同时不干扰用户体验,尊重平台特定指南并避免过度催促。该包可与原生评论系统(如Apple的SKStoreReviewController和Google Play的In-App Review API)无缝集成。

适合场景

  • 在应用使用里程碑后提示用户进行评价
  • 通过及时互动提升应用商店评分
  • 通过智能时间安排减少评审请求疲劳
  • 在 iOS 和 Android 上集成原生评论流程
  • 根据用户行为自定义评审触发器

主要特点

  • 可配置的评审触发器(时间、发布、事件)
  • 支持 iOS SKStoreReviewController 和 Android 应用内评价
  • 避免过多的评审提示
  • 平台原生评论用户界面
  • 灵活的条件逻辑

适合对象

  • 旨在提升应用商店评分的应用
  • 寻求非侵入式审查策略的开发人员
  • 使用原生评论 API 的项目
  • 具有明确用户参与里程碑的产品

使用建议

  • 需要正确配置触发条件
  • 由于平台限制,可能不会在所有设备上触发
  • 需要在 iOS 和 Android 上进行测试
  • 取决于应用商店对评论API的可用性
  • 由于操作系统策略,对精确时间控制有限制

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

advanced_in_app_review

Description

A Flutter plugin that lets you show a review pop up where users can leave a review for your app without needing to leave your app.

The average end-user will only write a review if something is wrong with your App. This leads to an unfairly negative skew in the ratings, when the majority of satisfied customers don’t leave reviews and only the dissatisfied ones do. In order to counter-balance the negatives, advanced_in_app_review prompts the user to write a review, but only after the developer knows they are satisfied. For example, you may only show the popup if the user has been using it for more than a week, and has done at least 5 significant events (the core functionality of your App). The rules are fully customizable for your App and easy to setup.

It uses the In-App Review API on Android and the SKStoreReviewController on iOS/MacOS.

Setup (Android only)

The Play In-App Review library is a part of the Google Play Core libraries. Please include the following Gradle dependency to integrate the Play In-App Review Library. More info see Android doc.

// In your app’s build.gradle file:
...
dependencies {
    // This dependency is downloaded from the Google’s Maven repository.
    // So, make sure you also include that repository in your project's build.gradle file.
    implementation 'com.google.android.play:review:2.0.1'
    // For Kotlin users also add the Kotlin extensions library for Play In-App Review:
    implementation 'com.google.android.play:review-ktx:2.0.1'
    ...
}

Usage

Simple 1-line Setup
@override
void initState() {
  super.initState();
  initPlatformState();
  AdvancedInAppReview()
      .setMinDaysBeforeRemind(7)
      .setMinDaysAfterInstall(2)
      .setMinLaunchTimes(2)
      .setMinSecondsBeforeShowDialog(4)
      .monitor();
}

Important notes for Android

Google encourages developers not to spam users with review requests right when they first start an app, instead asking studios to prompt people only after they've used the application for a while. Developers also shouldn't interrupt users in the middle of a task. After leaving a review or aborting, people should be able to continue whatever they were doing seamlessly.

Android decides when and if such a review view will be presented to the user. So please do not wonder if the view is not presented during debugging. As Google also noted, it will not be working in debug mode. Please see https://developer.android.com/guide/playcore/in-app-review/test

Requirements

Android

Requires Android 5 Lollipop (API 21) or higher and the Google Play Store to be installed.

IOS

Requires iOS version 10.3

Issues & pull requests are more than welcome!

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。