Hello, it’s been a while since I posted here. Sorry about that. So, what have I been up to? To sum things up: My game is in closed testing for an eventual Google Play Store release! Just need a few more testers and a little bit of time (plus one or two very minor updates) and I will have a game I made by myself available for sale. I am both excited and terrified at the same time.
However, not everything has been an easy path here. And I have a recent tale of one such bump in the road to tell.
What Happened
While I was in the process of moving my game through the testing phases, Google sent out a notification: “Your game’s billing library must be updated to version 7.0.0 or higher by X date”.
My thoughts were simple “This shouldn’t be difficult. Probably just a simple update and I’m done.” And it should have been, but I am getting ahead of myself.
What Went Wrong
Everything was going smoothly. Opened the project, found where I needed to do the update. Finished the update… and got errors that I needed to update my code…
Turns out I updated from the In App Purchasing (IAP) version 4 to 5, which came with a change in how it is coded. All of my IAP code was suddenly worthless. Arguably worse than useless as it was in the way of whatever the new way of doing things was.
Upon realizing all this I tried to learn how to use the new version… and go so frustrated I yelled at the top of my voice and started to get a headache. And all of this was just being exacerbated by a deadline.
What Did I do
In short: I panicked. And I don’t operate well when I panic. I ran away from the problem and worked on other things. But eventually, I needed to get back to it. And after a pep talk with my dad I did.
But I decided to try and play it smart this time. I realized that Google just wanted the Billing Library updated, not the IAP version. So I started searching around about that. Maybe I would be able to return to the version where my coding still worked. It was worth a shot at least. And it turned out I was right! There was a version of IAP 4 that supported Billing Library 7. Now I just needed to figure out if I could rewind the update I did.
Looking it up online I found a method that I won’t bore you with, but involved a few preliminary steps such as backing up the project… just in case. That done, there were a few more steps I was “supposed” to follow. But I impulsively decided to just delete IAP version 5. I then realized I might be able to reinstall the older version 4, and sure enough I could! So I did that, checked a part of the code to make sure things looked good. And made a new build for Google.
Last Few Things
So I uploaded the new build to Google, and everything looked like it was going fine. Until two days latter when google told me I needed to update to billing library 7 again. But this problem was much easier to solve. I realized my Internal Testing version had not been updated in a long time. So updating that to the latest build and the next day Google told me I was in the clear.
One final word is to thank two creators who’s videos helped me in this endeavor:
YTCodeMaster who’s short pointed me in the right direction. Short
And New Popular Games who’s video showed me what version I was looking for and how to check that it all worked out. Video