Subscriptions part 1
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 Android studio 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 subscriptions
select your app in google play console and go to Products -> Subscriptions

Now, please create 3 subscriptions plans under the same IDs (diamond, gold, silver) and please use the same prices
silver : $10
gold : $30
diamond : 50$
Setup Qonversion
Navigate to the New Project page and provide new project's name.
In Settings, select the platform for your app and provide platform-specific data:
get the project key, copy it and paste it in android studio:
open res/strings.xml and paste it here
<!-- Qonversion -->
<string name="qonversion_id">PASTE IT HERE</string>
Link google play with qonversion
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