Google 玩游戏 - 是否可以限制免费用户每天玩游戏的次数?

Google Play Game - Is it possible to limit the number of plays per day to free users?

我写了一个游戏。我想使用基于 AdMob 的货币化。将有无广告的付费选项。

但是,我还想将一个人在免费版本中每天可以进行的播放次数限制为 2 或 3 次,除非他们已经支付了可以无限制播放的无广告选项。

这是怎么做到的?

如果有人卸载游戏然后重新安装,共享首选项或任何数据都将被删除。我不想在我的服务器上使用数据库选项。所以它必须是 phone 本身的某个文件或其他东西。

信息必须存储在某个地方。

  • 如果你想让它在卸载后重新安装后继续存在,它不能存储在客户端上
  • 你说你不想把它存储在你的服务器上

只剩下一个地方了,别人的服务器。对此有很多选择,但其中之一是使用 Google Play 游戏服务器。例如,您可以使用 Saved Games API. However, it is counted against the users Google Drive quota so they can delete it. You could also use some other provider like Firebase.