IN-App Biling。
我有一个场景,帐户X和帐户Y,而一个谷歌accout A. 我发现这是google开发者博客,你可以将“accountId”设置为extraParms而puchase / subscribe item,
根据Google doc:可选的混淆字符串,与您应用中的用户帐户唯一关联。如果您传递此值,Google Play可以使用它来检测不规则活动,例如许多设备会在短时间内在同一帐户上进行购买。 链接:https://developer.android.com/google/play/billing/billing_reference#getBuyIntentExtraParams
那么如果我使用Google帐户使用帐户X进行购买会发生什么情况A所有情况都正常,但是当我尝试使用帐户Y和Google帐户AI时会在提示消息中收到一条消息,表示您已经订阅但不会发生这种情况
我尝试使用这两个库: - https://github.com/anjlab/android-inapp-billing-v3