TExcelTAD
Home › Assets, Tools & Shipping › Google Play & the App Store

Google Play & the App Store

Mobile stores add three things PC stores don't have: mandatory code signing with keys you must never lose or leak, platform requirements that change every year (target API levels, SDK versions, privacy declarations), and review for every update on iOS. This lesson is an overview of both stores; follow the official consoles' current checklists when you publish, because the details move.

Google Play

Accounts and testing tracks

You register a developer account in the Play Console (a one-time registration fee and identity verification; check the current requirements). Every app has testing tracks:

Track Who gets it Use
Internal testing up to a small list of testers you name, available within minutes team builds
Closed testing testers by email list or Google Group playtests, beta
Open testing anyone who opts in from the store page public beta
Production everyone release, optionally as a staged rollout (5% → 20% → 100%)

Google has added requirements for new personal developer accounts, such as running a closed test with a minimum number of testers for a minimum period before production access. Read the current rule before you plan a launch date.

App Bundles and Play App Signing

New apps are published as an Android App Bundle (.aab), not an APK: you upload the bundle, and Google Play generates and signs optimised APKs for each device configuration. That works through Play App Signing:

  • the app signing key signs what players install; Google stores it.
  • your upload key signs the bundles you upload; if it leaks or is lost, Google can reset it.

You create the upload key once with the JDK's keytool:

bash
keytool -genkeypair -v -keystore upload-keystore.jks -alias upload \
        -keyalg RSA -keysize 2048 -validity 10000

and engines sign with it at build time: Unity's Player Settings → Publishing Settings (keystore + Build App Bundle (Google Play) in the build profile), Godot's Android export preset (with Use Gradle Build for AAB; passwords from GODOT_ANDROID_KEYSTORE_RELEASE_* environment variables in CI), Unreal's Distribution Signing in the Android project settings. To test a bundle on your own phone before uploading, Google's bundletool turns it into installable APKs:

bash
java -jar bundletool.jar build-apks --bundle=game.aab --output=game.apks \
     --ks=upload-keystore.jks --ks-key-alias=upload
java -jar bundletool.jar install-apks --apks=game.apks

The keystore and its passwords never go into the repository. Keep the file in a password manager or secret store, give CI a copy as an encrypted secret, and keep a backup somewhere separate. Without Play App Signing, losing the key would mean you can never update the app again; with it, a lost upload key is recoverable but still costs days.

Requirements that change

  • Target API level: Google requires new apps and updates to target a recent Android API level, raised every year. Engines expose it as Target API Level (Unity), target_sdk (Godot export), Target SDK Version (Unreal).
  • Data safety form: declare what data the app and its SDKs (ads, analytics, crash reporting) collect and share.
  • Content rating: an IARC questionnaire in the console (Age Ratings & Privacy).
  • 64-bit native code (ARM64) is required for apps with native libraries.
  • versionCode must increase with every upload (Version & Build Numbers).

The Apple App Store

  • Apple Developer Program membership (an annual fee; check current pricing) and a Mac with Xcode: every iOS build is archived and uploaded through Xcode or Apple's command-line tools, even when the game was made in Unity, Unreal or Godot (they generate an Xcode project or export an IPA).
  • Certificates and provisioning profiles identify you and the devices or store the build may run on. Xcode's Automatically manage signing handles most of it; CI usually uses an API key for App Store Connect and a tool such as fastlane.
  • App Store Connect holds the app record: name, screenshots per device size, description, age rating, pricing, and the App Privacy details ("privacy nutrition label").
  • Privacy manifests (PrivacyInfo.xcprivacy) declare data collection and the reasons for using certain APIs, for your app and for third-party SDKs; engine and SDK vendors ship their own, but you are responsible for the final app's declarations.
  • If you track users across other companies' apps (typical for ad-funded games), you must ask permission with App Tracking Transparency.
  • TestFlight distributes beta builds: internal testers immediately; external testers after a lighter beta review.
  • Every release goes through App Review against the App Review Guidelines. Common rejection reasons for games: crashes on launch, placeholder content, broken links, missing account deletion when accounts exist, and in-app purchases that bypass Apple's payment system where its rules require it.

A runnable model: the pre-upload check

Many of these rules can be checked automatically before a build is uploaded. Here, a build's settings are compared with the rules (the minimum target API is a parameter, because it changes every year):

python · try it yourself
def check_android(build, previous_version_code, min_target_api, repo_files):
    issues = []
    if build["format"] != "aab":
        issues.append("Play requires an Android App Bundle (.aab) for new apps")
    if build["version_code"] <= previous_version_code:
        issues.append(f"versionCode {build['version_code']} must be > {previous_version_code}")
    if build["target_api"] < min_target_api:
        issues.append(f"target API {build['target_api']} < required {min_target_api}")
    if "arm64-v8a" not in build["abis"]:
        issues.append("no 64-bit ARM (arm64-v8a) native code")
    leaked = [f for f in repo_files if f.endswith((".jks", ".keystore", ".p12"))]
    if leaked:
        issues.append("signing key committed to the repository: " + ", ".join(leaked))
    if build["keystore_password_source"] != "env":
        issues.append("keystore password must come from a CI secret / environment variable")
    return issues

build = {"format": "aab", "version_code": 10400202, "target_api": 34,
         "abis": ["armeabi-v7a", "arm64-v8a"], "keystore_password_source": "ProjectSettings"}
repo = ["Assets/Scripts/Player.cs", "android/upload-keystore.jks", "README.md"]

for issue in check_android(build, previous_version_code=10400203, min_target_api=35, repo_files=repo):
    print("BLOCK:", issue)
BLOCK: versionCode 10400202 must be > 10400203
BLOCK: target API 34 < required 35
BLOCK: signing key committed to the repository: android/upload-keystore.jks
BLOCK: keystore password must come from a CI secret / environment variable

Test yourself

With Play App Signing, which key signs the APKs players install?

  1. Your upload key
  2. The app signing key, held by Google
  3. No key
  4. A debug key

What do you need to build and upload an iOS version of a Unity or Godot game?

  1. Only Windows
  2. A Mac with Xcode and an Apple Developer Program membership
  3. Android Studio
  4. Nothing extra

Where should an Android keystore's password be stored for CI builds?

  1. In ProjectSettings committed to Git
  2. In a CI secret exposed as an environment variable
  3. In the README
  4. In the game's save folder