Mindyoga offers three types of premium subscriptions:
Plan | Duration | Benefits |
---|---|---|
1 Month | 30 Days | • Ad-free experience • Unlimited access to all premium audio |
6 Months | 180 Days | • Ad-free experience • Unlimited access to all premium audio |
1 Year | 365 Days | • Ad-free experience • Unlimited access to all premium audio |
Note: Prices are set in the Play Console (e.g., ₹99/₹499/₹899).
An alternative reward system is available for non-premium users:
When a user taps the “Watch Ad” button, a rewarded ad is displayed using the Google Mobile Ads SDK. Upon successful completion of the ad, 1 Coin is added to the user's balance.
Each premium audio track can be played once by spending 5 Coins. Redemption occurs on the “Sound Detail” screen: unlock the track by tapping the “Spend Coins” button.
The coin balance is saved under the user's UID in Firebase Firestore. All changes are updated atomically using the Firestore Transaction API
to prevent duplicate updates or race conditions.
Google Play Billing Library v5+
Google Mobile Ads SDK
users/{uid}
→ Field: coinBalance (int)
earnCoin
, spendCoin
methods)The user flow is as follows: Home → Sound Detail → Play/Purchase/Watch Ad.