guru_sdk/guru_ui/packages/guru_rating
Haoyi 59b48f342c sdk v3.0.0
Signed-off-by: Haoyi <haoyi.zhang@castbox.fm>
2024-01-15 11:24:42 +08:00
..
lib sdk v3.0.0 2024-01-15 11:24:42 +08:00
test sdk v3.0.0 2024-01-15 11:24:42 +08:00
.gitignore sdk v3.0.0 2024-01-15 11:24:42 +08:00
CHANGELOG.md sdk v3.0.0 2024-01-15 11:24:42 +08:00
LICENSE sdk v3.0.0 2024-01-15 11:24:42 +08:00
README.md sdk v3.0.0 2024-01-15 11:24:42 +08:00
analysis_options.yaml sdk v3.0.0 2024-01-15 11:24:42 +08:00
pubspec.yaml sdk v3.0.0 2024-01-15 11:24:42 +08:00

README.md

guru_rating

guru_rating is a project that provides a rating guide process for users to rate the app.

Project structure

  • The core directory is the main entry point for the rating guide process. See lib/core/rating_guide.dart for more details.
  • The page directory contains the related UI pages for the pop-ups.
  • The lib/mixins directory defines two interfaces, to get the local and remote configurations for compatibility with old projects.

Remote config

引导流程中涉及到的remote config: ⚠️如果没有使用实现remoteConfigAware方式则需配置以下内容否则不会进入评分引导

  • key: app_rater

  • value: {"gap_days":1,"last_pop_gap_days":7,"mode":"in_app","validation":"","entry_enable":false}

  • parameters:

    • gap_days: 限制首次安装后n天触发默认1天
    • last_pop_gap_days: 限制两次触发间隔n天默认7天
    • mode: Android 挑战评分模式 in_app/url, in_app即为in_app_reviewurl为gp链接需要接入方设置实现goToGPCallback
    • validation: 字符串类型接入方自己额外限制配置check阶段最后判断默认为空字符串
    • entry_enable: 设置评分入口是否开启,默认关闭