Skip to main content
App Publishing Guide
CHAPTER 16 Intermediate

Monetization and In-App Purchases

Updated: May 31, 2026
6 min read

# CHAPTER 16

Monetization and In-App Purchases

1. Introduction

Unless you are building a purely altruistic open-source tool, you likely want your app to generate revenue. In the early days of mobile, users paid $0.99 upfront to download an app. Today, the "Paid Upfront" model is largely dead. Users expect apps to be free to download, with monetization happening later. In this chapter, we will explore the core mobile revenue models: Advertising, In-App Purchases (IAP), and Subscriptions.

2. Learning Objectives

By the end of this chapter, you will be able to:
  • Understand the Freemium business model.
  • Differentiate between Consumable, Non-Consumable, and Auto-Renewing Subscriptions.
  • Understand the 30% Platform Tax.
  • Identify popular ad networks (AdMob, FAN).
  • Design a high-converting Subscription flow.

3. The Freemium Model

The dominant strategy today is Freemium (Free + Premium). The app is free to download and use, removing all friction for the user to try it. Once they experience the core value, they hit a "paywall" restricting advanced features.
  • Example: Spotify is free with ads and limited skips. Spotify Premium removes ads and unlocks unlimited skips.

4. In-App Purchases (IAP)

When selling digital goods inside your app, you must use Apple and Google's native billing systems. If you try to use Stripe or PayPal to sell digital features, your app will be banned. There are three main types of IAP:
  1. 1. Consumables: Items that get used up and can be bought multiple times (e.g., Gold coins in a game, extra "lives").
  1. 2. Non-Consumables: Items bought once that unlock a permanent feature (e.g., "Remove Ads", "Unlock Pro Filters").
  1. 3. Subscriptions: The holy grail of app revenue.

5. Auto-Renewing Subscriptions

Investors and developers love subscriptions because they provide Monthly Recurring Revenue (MRR).
  • Users pay $4.99/month or $29.99/year.
  • The Platform Tax: Both Apple and Google take a 30% cut of all IAP and subscription revenue. However, if a user stays subscribed for over 1 year, Apple and Google drop their cut to 15%.
  • Small Business Program: Both platforms now offer a program where developers making less than $1 million per year only pay a 15% cut from day one. You must explicitly apply for this in the Developer Consoles!

6. Advertising Integration

If your app has high usage but users won't pay for subscriptions (e.g., hyper-casual games), ads are the best route.
  • Banner Ads: Small ads at the top/bottom. Low revenue.
  • Interstitial Ads: Full-screen ads that pop up between screens. High revenue, but annoying.
  • Rewarded Video Ads: The user opts-in to watch a 30-second ad in exchange for a reward (e.g., an extra life). Users love these, and advertisers pay top dollar for them.
Networks: Google AdMob, Facebook Audience Network (FAN), and Unity Ads.

7. Setting up IAP in the Consoles

Before you can write code to fetch products, you must define them in the store dashboards.
  1. 1. Go to App Store Connect / Google Play Console.
  1. 2. Navigate to "In-App Purchases" or "Subscriptions".
  1. 3. Create a new Product (e.g., com.myapp.premium_yearly).
  1. 4. Set the price tier and description.
  1. 5. *Important:* On iOS, you must submit your first IAP alongside a new app version for review.

8. Mini Project: Subscription Flow Design

Task: Design the UI/UX for your app's Paywall screen. A high-converting paywall includes:
  1. 1. The Hook: "Unlock your full potential."
  1. 2. Feature List: 3 to 4 bullet points explaining what Premium does (e.g., "Unlimited Swipes", "No Ads").
  1. 3. The Options: Display a Monthly option and a Yearly option.
  1. 4. The Anchor: Highlight the Yearly option as "Best Value - Save 50%".
  1. 5. The Fine Print: Links to Privacy Policy and Terms of Service (required by Apple/Google).

9. Tools for Implementing IAP

Implementing the native Apple/Google billing APIs from scratch is notoriously difficult and full of edge cases (failed cards, upgrades, downgrades). Best Practice: Use a service like RevenueCat. It is an SDK that wraps both Apple and Google's billing systems into one simple API and handles all the complex receipt validation on their backend.

10. Common Mistakes

  • Selling Physical Goods via IAP: If you are selling physical items (e.g., T-shirts, Uber rides, food delivery), you *cannot* use Apple/Google IAP. You must use Stripe/PayPal. You only pay the 30% tax on *digital* goods consumed within the app.
  • Hiding the Restore Purchases button: Apple will reject your app if the paywall does not have a clear "Restore Purchases" button for users who get a new phone.

11. Publishing Best Practices

  • Offer a 7-Day Free Trial on your annual subscription. Users are much more likely to subscribe if they can test the premium features risk-free.

12. Exercises

  1. 1. Open three different apps on your phone and trigger their Paywall screen. Analyze how they layout their pricing options. Which one is highlighted?
  1. 2. Research the Apple Small Business Program and find the application page.

13. Publishing Checklist

  • [ ] Product IDs are configured in both developer consoles.
  • [ ] The app clearly explains what the user is buying.
  • [ ] Paywall includes "Restore Purchases", "Terms of Service", and "Privacy Policy".
  • [ ] Applied for the 15% Small Business Program (if eligible).

14. MCQ Quiz with Answers

Question 1

If your app sells physical merchandise (like a branded t-shirt) to be shipped to the user, which payment system should you use?

Question 2

Under the standard platform fee structure, what percentage of a digital subscription does Apple/Google take during the user's first year?

15. Interview Questions

  • Q: Explain the difference between a Consumable and Non-Consumable In-App Purchase.
  • Q: Why is RevenueCat (or similar backend validation) recommended over implementing native billing SDKs manually?

16. FAQs

Q: Can I direct users to my website to pay for a subscription to avoid the 30% tax? A: Historically, absolutely not. Apple and Google would instantly ban your app. Recently, due to lawsuits, rules are slightly relaxing for "Reader" apps (like Netflix or Spotify), but for 99% of apps, trying to bypass the native billing system will result in a ban.

17. Summary

Monetization must be baked into your app's design from day one. Whether you rely on Rewarded Video Ads for casual gamers or Auto-Renewing Subscriptions for productivity tools, understanding the Freemium model, the 30% platform tax, and the rules of digital vs. physical goods is essential for running a profitable app business.

18. Next Chapter Recommendation

Once your app is live and making money, you need to know if it is crashing or if users are abandoning it. In Chapter 17: App Analytics, Crash Reports, and Monitoring, we will set up the telemetry needed to track your app's health in production.

Finish this Chapter

Save your progress on your learning path and prepare for coding interview challenges.

Discussion

Join the discussion

Log in or create a free account to participate.

Sort: ·