Detect if the user rated the app in Android

前端 未结 2 567
盖世英雄少女心
盖世英雄少女心 2021-01-06 05:22

Recently I read a article about a game in the market (I won\'t give the name because I think it that practices are negative for Android and don\'t want to publicize it) that

2条回答
  •  情歌与酒
    2021-01-06 05:56

    Recently I read a article about a game in the market (I won't give the name because I think it that practices are negative for Android and don't want to publicize it) that don't allow to update if you have not rated 5 stars in the market.

    This is not possible as described. An application cannot prevent itself from being updated. Now, it is possible that it can detect the update when it is next run and then take some action.

    I'd like to know if that is detectable and if yes how to do it

    There is no documented and supported means of doing this. I'll be stunned if it is possible outside of rooted phone -- it's a security flaw otherwise.

提交回复
热议问题