In this part, I’ll be talking about our testing process. Testing took a huge part of our development because of our previous experiences with the current store. Users had issues with the store, especially about locking/unlocking. Some users reported that after updating our app to a higher version, their items got locked and similar issues. The tricky part is sometimes we cannot create the same bug or bug environment in order to track the issue and fix. To prevent this, we created some user cases and tested according to these.it the button
First of all, we needed a subscription prototype to test the code whether it unlocks with the subscription starts and locks when it ends. It was easy to do, when an item is bought within Google Play, the receipt is saved o the user’s account. When the receipt comes to the app, the app’s code will get these receipts and unlocks according to it.
The hardest part (not to make but to test) was handling previous purchases of an existing user. The subscription model is easy for the new users. Just hit the button, pay for it and that’s all. But for the existing user… We need to get the previous purchases’ receipts, get the subscription’s receipt and lock/unlock according to the receipts. The logic is simple, having a receipt means unlocking the item. But being a test user and making purchases was hard. Hard because somehow the purchases we made before the subscription model vanished when we downloaded the beta with the subscription model. And this situation made us doubtful because we weren’t sure whether we are doing the right thing. To test it more realistically, we bought the items with real money within the production release. After buying, we installed the beta version with subscription model onto our Android device. (I’m not even counting the failures of being not able to opt out of testing, somehow Google won’t even get our accounts out of the beta. To test this more accurately we had to shut down all the beta testing itself, and our problem is solved.)
Success! After lots of testing, we are sure that the code is working nice and easy. Only some tweaks are needed, after that, we are fully ready to release our Subscription Model and we are so excited about it.
Stay in tune for more updates!