Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
非消耗品IAP在Android上购买两次_Android_In App Billing_In App - Fatal编程技术网

非消耗品IAP在Android上购买两次

非消耗品IAP在Android上购买两次,android,in-app-billing,in-app,Android,In App Billing,In App,我有一个关于android消耗品IAP的问题 当: 安装应用程序 购买消耗品 卸载应用程序 重新安装 再次尝试购买消耗品 在沙箱模式下,它显示为一个全新的事务。(与iOS不同) 在iOS上,当用户再次尝试购买时,会显示“您已经购买了这个” 所以我的问题是,当用户再次尝试在android上购买非消费品时会发生什么?检查我选中了,但卸载后,直到用户点击“恢复购买”按钮,您才有商店收据。我无法隐藏该按钮,因为我没有任何关于用户购买的信息。它链接到google play中使用的用户电子邮件。我知道,但问

我有一个关于android消耗品IAP的问题

当:

  • 安装应用程序
  • 购买消耗品
  • 卸载应用程序
  • 重新安装
  • 再次尝试购买消耗品
  • 在沙箱模式下,它显示为一个全新的事务。(与iOS不同) 在iOS上,当用户再次尝试购买时,会显示“您已经购买了这个”


    所以我的问题是,当用户再次尝试在android上购买非消费品时会发生什么?

    检查我选中了,但卸载后,直到用户点击“恢复购买”按钮,您才有商店收据。我无法隐藏该按钮,因为我没有任何关于用户购买的信息。它链接到google play中使用的用户电子邮件。我知道,但问题是,当用户尝试购买已购买的物品时会发生什么?是否有任何机制阻止第二次尝试?