libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
225 stars 83 forks source link

Android Google Play: increase retry period #91

Closed keesvandieren closed 8 years ago

keesvandieren commented 8 years ago

In Some situations, Google Play Store app is restarted.

In that case, the app gets disconnected without knowing this, causing In-app-purchases to fail.

That is why we (under the hood) reconnect and retry a purchase in a V3GoogleInAppBillingService in case of failure.

However, the RETRY_PURCHASE_DELAY_IN_MS is too fast: the getBuyIntent() is send too fast after retry. It works well on most devices, but in some situations it seems to take longer.

Increase delay from 1000 ms to 3000 ms and see if this functions better.