Android 应用内计费的不正确实现
我刚收到谷歌Play的以下电子邮件 我们检测到,您在本电子邮件末尾列出的应用程序正在调用应用内计费服务,而没有为目的设置目标包。这会使恶意软件包绕过Play store计费系统并访问尚未购买的项目 下一步:Android 应用内计费的不正确实现,android,android-security,Android,Android Security,我刚收到谷歌Play的以下电子邮件 我们检测到,您在本电子邮件末尾列出的应用程序正在调用应用内计费服务,而没有为目的设置目标包。这会使恶意软件包绕过Play store计费系统并访问尚未购买的项目 下一步: 如果您正在使用IabHelper,请开始使用最新的SDK 如果您正在手动调用应用内计费服务,请确保您正在调用Intent.setPackage(“com.android.vending”)以查看com.android.vending.billing.InAppBillingService.B
Intent.setPackage(“com.android.vending”)
以查看com.android.vending.billing.InAppBillingService.BIND
Intent serviceIntent = new Intent("com.android.vending.billing.InAppBillingService.BIND");
serviceIntent.setPackage("com.android.vending");
bindService(serviceIntent, mServiceConn, Context.BIND_AUTO_CREATE);
问题是什么?->如果您正在使用IabHelper,请开始使用最新的SDK,尽管我没有使用最新的SDK,但旧的SDK中有以下代码。Intent serviceentent=new Intent(“com.android.vending.billing.InAppBillingService.BIND”);setPackage(“com.android.vending”);bindService(serviceIntent、MSServiceConn、Context.BIND\u AUTO\u CREATE);我认为这是发送给所有老的应用程序内用户。我最近也收到了这个消息。有什么问题吗?->如果您正在使用IabHelper,请开始使用最新的SDK,尽管我没有使用最新的SDK,但旧的SDK中有以下代码。Intent serviceentent=new Intent(“com.android.vending.billing.InAppBillingService.BIND”);setPackage(“com.android.vending”);bindService(serviceIntent、MSServiceConn、Context.BIND\u AUTO\u CREATE);我认为这是发送给所有老的应用程序内用户。我最近也收到了这个消息。