AppRatingDialog 0.0.4

AppRatingDialog 0.0.4

Michael Rothkegel维护。



  • Michael Rothkegel

AppRatingDialog

Version License Platform

如何显示

alt text alt text alt text

安装

要安装 AppRatingDialog,只需将以下行添加到您的 Podfile 中

pod 'AppRatingDialog'

然后运行 pod install

描述

AppRatingDialog 是一个用于通过电子邮件获取应用商店评论或反馈的实用框架。

如果您要求用户对应用进行评分,这应该以用户友好的方式进行。

苹果推荐

您可以在用户体验的适当时间请求用户对您的应用进行评分和评论。在用户最有可能对应用感到满意时提出请求,例如,当他们完成了一个操作、关卡或任务。确保不要打扰他们的活动。

进一步的指示表明,用户只能在 每年的 StoreKit 应用中 被询问三次。AppRatingDialog 会处理这个问题。此外,对于那些不喜欢应用的用户,我们会请求他们通过电子邮件发送反馈。

alt text

请查阅《应用评分对话框流程》。当然,您也可以编辑外观以及文本键和视图。请参阅文档和/或示例。

如何实施

必备

显示评分对话框既容易又快。

import AppRatingDialog

// init app rating presentre
lazy var appRatingPresenter = {
       return AppRatingDialogPresenter(viewController: self, feedbackMailRecipient: "feedback@my_company.com")
   }()
   
// show rating dialog
appRatingPresenter.showRating()

可选

所有文本键

    public var initialTitle = "Do you like the App?"
    public var initialMessage = "If you have a minute, give us some feedback. This helps us improve the app."
    public var initialNegativeButtonTitle = "No"
    public var initialPositiveButtonTitle = "Yes"
    
    public var noLikeTitle = "Oh - okay"
    public var noLikeMessage = "We are sorry to hear that. Please tell us what bothers you so that we can implement your feedback."
    public var noLikeNegativeButtonTitle = "No"
    public var noLikePositiveButtonTitle = "Yes"
    
    public var feedbackMailTitle = "Feedback"
    public var feedbackMailMessage = "Your feedback here:\n"

示例

    AppRatingDialogTextConstants.shared.initialTitle = "Please rate"

UI元素被定义为公开的。因此,您可以按自己的喜好进行自定义。

   appRatingPresenter.appRateDialogView?.noButton
   appRatingPresenter.appRateDialogView?.yesButton
   appRatingPresenter.appRateDialogView?.messageLabel
   appRatingPresenter.appRateDialogView?.titleLabel

用户体验

建议您思考何时请求用户进行评分。以下情况很有用:

  • 完成关卡后
  • 接受服务后(票据、银行转账、应用内购买...)
  • 如果用户是经验丰富的回头客

请查阅此链接

路线图

  • ➡️使用可本地化设置默认文本值
  • ➡️集成Travis CI进行质量控制
  • ➡️可配置在用户不想反馈时屏幕显示的频率
  • ➡️添加自定义图片
  • ➡️添加Lottie动画

作者

✉️ [email protected]

✉️ [email protected] (http://manuel.weiel.eu/)

许可

AppRatingDialog 可在 MIT 许可下使用。有关更多信息,请参阅 LICENSE 文件。