How To Enable Test Purchases For Your Android Apps

Software category image

Introduction

Many developers want to monetize their apps to cover development costs. One common approach is a subscription-based app model. In this article, I am going to show you how to enable test purchases for your Android apps to easily test your subscriptions and digital products.

What you need

To get started, you need a working Android app in the internal test track and test users.

To allow test purchases for your test users, go to the Play Console -> Settings -> License testing.

Setting up test purchases for Android Apps in Google Play Console
Setting up test purchases for Android Apps in Google Play Console

Choose the email list of the testers, you want to grant access to test purchases. Be aware that this is across all apps the tester has access to!

It might be reasonable to create at least one list of testers per app.

Donโ€™t forget to save the changes. They are effective immediately.

Setting up test purchases for Android Apps in Google Play Console
Setting up test purchases for Android Apps in Google Play Console

๐Ÿ’ก Tip

Products are permanent while subscriptions auto-renew after a short period of time (a yearly subscription renews every 30 minutes). Users can cancel their subscriptions in their Google Play account.

Why it might not work

  1. You must have configured a digital product (one time or subscription) for your app.
  2. Your APK/App Bundle must be uploaded to Play Store in a production or test track.
  3. Your app must have testers or users that are enabled to make test purchases.
  4. The app must run on a real device. It doesnโ€™t work in emulators.

Read the official documentation for more details!

Conclusion

Setting up and testing digital product and subscriptions is an essential part in monetizing mobile apps. In this article, you learned how to enable test purchase for your Android apps. Publish your test app, configure test users, and enable license testing. Thatโ€™s it!


Flutter โค๏ธ Firebase

Get started with Firebase and learn how to use it in your Flutter apps. My detailed ebook delivers you everything you need to know! Flutter and Firebase are a perfect match!

Become A Testing Expert!

Become a proficient Flutter app tester with my detailed guide. This ebook covers everything from unit tests over widget tests up to dependency mocking.