Closed florianbaethge closed 5 years ago
Hi, you should not mix versions of different sub-components. Use version 1.0.0 for all components.
Ohh ok thanks. I was just a bit confused because here it says the latest version for android-googlebilling is 0.12.1 https://search.maven.org/search?q=g:com.badlogicgames.gdxpay
I'll give that a try and check if the issue persists. Thank you
Closing this, open again if the problem still persists.
Please ensure you have given all the following requested information in your report.
Issue details, reproduction steps/code
Crashlytics as well as the developer console currently show a NullPointerException within GdxPay.
The PurchaseManager is a private member in the AndroidLauncher class which is initialized in onCreate just before libgdx's initialize() method. It's not touched afterwards. The PurchaseObserver is created within the game's create() method, where the purchase manager is also directly being installed with the observer.
So far, the crash has only occured once and on a Samsung Galaxy J1 (2016) running Android 5.1.1
What reasons could there be for the observer being gone somehow? Should there maybe be a nullcheck within the android-googlebilling library?
Version of gdx-pay and/or relevant dependencies
0.12.1 for gdx-pay android and 1.0.0 core
Stacktrace
Please select the affected platforms and payment service implementation