Mindyoga Premium & Reward System Documentation

1. Subscription Plans

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).

2. Coin Reward System

An alternative reward system is available for non-premium users:

Rewarded Ad

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.

Coin Redemption

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.

Data Storage

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.

3. Technical Implementation

4. User Flow

The user flow is as follows: Home → Sound Detail → Play/Purchase/Watch Ad.

5. Support & Contact