You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.
there is not restore purchases for android
for android you query for inventory to check if items are already bought
if yes then you allow them to users
restore purchase option is only for IOS
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Here are my development flow of in app.
I am using unity5.4.0f3 unity personnel version.
openIAB plugin version is 0.9.8.6.
In ios working OK. Getting problem with restore purchase in android.
Testing account is added in test account in alpha test in google play developer console.
App installing with the same account in android device which is added in google play console.
Android manifest file version is OK and also BILLING activity added, checked and tested
Purchasing test order say "You will not charge for test account" etc, and successfully purchasing app. Setting preference
But,
When uninstalling app and reinstalling again with same account,
Calling
private void OnBillingSupported()
{
Debug.Log("Billing is supported");
OpenIAB.queryInventory(new string[] {"premium_version_no_ads" });
}
Also getting response
-private void OnQueryInventorySucceeded(Inventory inventory)
{
if (inventory.HasPurchase ("premium_version_no_ads"))
{
}
}
But not getting any previous purchase detail using GETPURCHASE AND HASPURCHASE functions,
just getting inventory object response null.
Please help How to restore purchase in android ?
Thank you.
The text was updated successfully, but these errors were encountered: