Closed slush1000 closed 6 years ago
I dumped GDX-pay and implemented Android IAP another way. I'll implement IOS separately too. Is GDX-pay a dead project?
It is not dead, we are using it in production.
handleRestoreError (and other handle*Error methods) should not continue to throw the Exception. They can happen without doing something wrong in the app, e.g. when someone installs the app on Android phone that has no Google Play Store installed, or when someone stops the Google Play Services via Applications, and probably as wel on garbage collection.
For users still using gdx-pay:
I have implemented gdx-pay using the Integration Example and everything seems to work as it should. A simple entitlement purchase.
The issue I am having is when the app is relaunched it will crash sometimes.
It seems to only happen if the app is not exited through the app but instead removed by Android for memory maintenance.(Edit: I am finding out that it does seem to happen even after exiting through the app.) I can only make it happen on my Pixel 2 after more than at least 4 hours.I invoke this by not exiting the app but either switching apps or by swiping the app away after tapping the Android overview button waiting a few hours and open the app again. This happens with more frequency on a friends Nexus 5x.
I really need some advise with this one.