问题描述
我想查看用户是否在 Google Play 上对我的应用进行了评分,而不是多少星,只要他们有.如果他们没有,我会通过一个对话框提示他们,要求他们使用以下代码对其进行评分:
I want to check to see if a user has rated my app on the Google Play, not how many stars, just if they have. And if they haven't I will prompt them with a dialog asking them to rate it with this code:
startActivity( new Intent( Intent.ACTION_VIEW,
Uri.parse("market://details?id=packagename") ) );
推荐答案
没有.你不能做这个.这也是一件好事——否则你将能够通过给予评价它的人奖励等来影响评价.此外,如果这样的 API 可用,开发人员将能够对负面评论进行报复.如果 Google 开始披露这些数据,这也可能违反用户与 Google 之间的某些法律协议.
No. You cannot do this. And this is a good thing too -- otherwise you will be able to influence rating by giving people who rated it rewards and such. Additionally, developers would be able to retaliate to negative reviews if such an API were available. This might also violate certain legal agreements between the User and Google if Google starts revealing this data.
但是,这是我个人在我的应用中所做的:
However, this is what I personally do in my apps:
- 让用户使用该应用 5 次,以获得良好的感觉.
- 提示用户在第六次运行时使用
Yes
、Later
和Never
选项对其进行评分.后来推迟了两天.
- Let the user use the app 5 times, to get a good feel of it.
- Prompt the user on the sixth run to rate it with options for
Yes
,Later
andNever
. Later delays it by two days.
这篇关于您如何检查用户是否在 Google Play 上对您的应用进行了评分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!