Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.15 KB

android-google-play-billing.md

File metadata and controls

46 lines (28 loc) · 1.15 KB

Unity Android Google Play Billing Guide

Google Play Billing is the system used for in-app purchases on Android devices.

When publishing a Unity game on Google Play, developers can use Unity IAP to manage purchases across multiple platforms. However, the products must also be configured correctly in the Google Play ecosystem.

This guide covers the Android side of the Unity IAP and Google Play Billing workflow.


Before You Start

Before configuring in-app purchases for Android, make sure you have:

  • A Unity project with Unity IAP installed
  • A valid Android package name
  • A Google Play application configured
  • Access to the required Google Play Console features
  • Product IDs planned for your game

The Product IDs used in Unity should match the products configured for your Android application.


Choose Your Product Types

Before creating products, decide how each purchase should behave.

Common purchase types include:

Consumable Products

Consumable products can usually be purchased multiple times.

Examples:

  • Coins
  • Gems
  • Extra lives
  • Power-ups
  • Temporary boosts

Example Product ID:

com.yourcompany.yourgame.coins100