💰In-app purchases

I used a third party called qonversion https://qonversion.io/

Qonversion is a Cross-platform subscription infrastructure, a/b testing, revenue analytics, engagement automation, and integrations all in one place to grow your app faster. You can start for free.

First, you'll need to create an account in qonversion. but before that, Let's setup our google play console.

Enable testing with your email

please go to your developer account then head to setup ->License testing then add a new license tester (the email that you will be using for testing)

Submit your app for internal testing

before you roll out for production, export your app from google play as a signed .aab file then submit it to internal testing from your google play account (you should do this in order to be able to add in-app products)

Add in-app products

select your app and go to Products -> in-app products. they may ask you to create a payment profile, just add your payment method and tax information and adress...

now add 5 products under the same ID and price as in the picture, or you can just click import and import this csv file https://drive.google.com/file/d/1W3MLH8krWOm53V0zgLmHr0TwJ_N4xyiq/view?usp=sharing

Setup Qonversion

  1. Navigate to the New Project page and provide new project's name.

  2. In Settings, select the platform for your app and provide platform-specific data:

  3. get the project key, copy it and paste it in android studio:

open App.kt and paste it here

please follow their documentation step by step to the end and make sure not to forget anything https://documentation.qonversion.io/docs/service-account-key-android

Last updated