When my app starts and shows the first screen, I call sponsorpay.requestNewCoins(). While it is doing whatever it does behind the scenes and before it reaches the listener callback provided in the requestNewCoins(), if I press the play button to start my game, the app crashes. If I wait for the listener to be called (signifying the requestNewCoins() returning), the app works fine.
Now, I can disable interaction to circumvent this, however I was wondering if there is a way to cancel requests or something like that so I don’t have to disable buttons, etc. and affect the user experience?