Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Flutter In-App Purchases: Consumable & Non-Consumable
Rating: 4.0 out of 5(14 ratings)
120 students

Flutter In-App Purchases: Consumable & Non-Consumable

Master In-App Purchases in Flutter: Learn to Implement and Monetize Consumable and Non-Consumable Products with Ease!
Created byAshish Raturi
Last updated 4/2023
English
English [Auto],

What you'll learn

  • How to add two types of in-app purchases to your Flutter app: a non-consumable "Get Premium" purchase and a consumable "Get Game Coin" purchase.
  • How to use Firebase as the backend service for your in-app purchases, making the process easier, more secure, and perfect for production apps.
  • How to verify purchases using Cloud Functions and Firestore, ensuring that users are getting what they paid for and preventing fraud.
  • How to test In-app purchases.

Course content

1 section9 lectures1h 49m total length
  • First Thing to do0:27
  • Step 01 - Set up the project24:30

    Set up a Flutter project integrated with Firebase to implement in-app purchases, including a non consumable premium upgrade and consumable game coins, with Firestore-backed user data and purchases.

  • Explaining | How to add In-App Purchase?5:28

    Learn to add in-app purchases with consumable and non-consumable products, including purchase flow states, cloud function verification, and delivering purchases across Apple and Google stores.

  • Step 02 - In-App Purchase Setup32:03

    Set up in-app purchases in a Flutter app, adding consumable and non-consumable products and configuring app and Play Store. Deliver purchases, restore purchases, and convert users to premium.

  • Step 03 Part 01 | Purchase Verification Setup18:46

    Set up a Firebase-backed verification backend for in-app purchases by deploying functions, linking to Google Play and Apple Store, configuring service accounts, updating product IDs, and handling app-specific secrets.

  • Explaining | How do Purchase Verification Functions Work?3:47

    Explain how the verify parties function validates consumable and non-consumable purchases using source (google play or apple store), product ID, and user uid, with handlers returning true/false and saving results.

  • Step 03 Part 02 | Adding Verification in code6:38

    Implement purchase verification by calling the verify parties function with platform, product id, user id, verification data, then deliver the product only if verified, and log results in Firebase Purchases.

  • Step 04 - Testing in-app purchase6:31

    Release your flutter app to Google Play internal testing by uploading the app bundle, adding testers, and starting rollout. For iOS, switch sandbox to production and configure app store notifications.

  • Explaining | Verification Functions Code11:28

    Explain how the firebase verification functions validate in-app purchases by product data lookup, source checks (google play or app store), and status updates, with sandbox vs production environments.

Requirements

  • Flutter Basics

Description

Are you looking to monetize your Flutter app through in-app purchases? Do you want to add premium access and game coins to your app, but don't know where to start? Look no further, as this comprehensive course has got you covered!

In this course, you'll learn everything you need to know about adding Flutter in-app purchases to your app, using Firebase as the backend service. With just Flutter and Firebase, you'll be able to add two types of in-app purchases to your app: a non-consumable "Get Premium" purchase that gives users premium access, and a consumable "Get Game Coin" purchase that gives users 10 gold coins.

But that's not all! You'll also learn how to verify these purchases using Firebase, making the process easier, more secure, and perfect for production apps. You'll use Cloud Functions and Firestore to verify the purchases, and by the end of the course, you'll have a thorough understanding of how to integrate Firebase in-app purchases into your app.

Whether you're an experienced Flutter developer or just starting out, this course is perfect for anyone who wants to take their app monetization to the next level. So why wait? Enroll now and start adding premium access and game coins to your Flutter app with ease!


Who this course is for:

  • Flutter developers who want to monetize their app through in-app purchases
  • App developers who want to add premium access and game coins to their app
  • Anyone who wants to learn how to add in-app purchases to their Flutter app using Firebase
  • Developers who want to learn how to verify purchases and make their app more secure
  • Experienced Flutter developers who want to expand their skillset
  • Beginner Flutter developers who want to learn about app monetization and Firebase integration.