Create your app in Google Play Console

Google Play Console is where Google manages your app's listing, internal testing tracks, and Play Store submissions. Before Ruby Native can upload a build, your app needs to exist there.

The Google Play Developer API does not allow programmatic creation of new app listings, so this is a one-time manual step that takes about two minutes.

#Before you start

Make sure you have an active Google Play Developer account.

You'll also need your app's Bundle ID from Ruby Native. Open your app's Settings page on rubynative.com and copy the value of the Bundle ID field. It looks like app.example.rubynative.

#Create the app

  1. Go to play.google.com/console and sign in.
  2. Click Create app.
  3. Set the app name, default language, and App or Game classification.
  4. Pick Free or Paid, accept the declarations, and click Create app.
  5. When Play asks for the package name, paste the Bundle ID you copied from Ruby Native.

If the package name doesn't match, the preflight returns:

Your Play Console listing for {package_name} doesn't exist. Create it in Play Console first, then retry.

#Play App Signing

Play App Signing is enrolled automatically for every new app listing. There's nothing to accept and no key to manage. Two keys are involved:

  • The app signing key is Google's. Google holds it and signs what users install.
  • The upload key is Ruby Native's. It generates one on your first Android build, stores it encrypted, and signs every AAB with it so Google knows the upload came from the same place.

If you're migrating an existing signing key from another distribution channel, follow Google's App Signing docs for the import flow.

#Using an existing upload key

If your app was on Google Play before Ruby Native, Google already has an upload key on file for it and rejects builds signed with any other. Your first Android build fails with a message that says so, and you fix it by giving Ruby Native the key Google knows.

Open your app's Settings page on rubynative.com and click Use your existing upload key under Google Play, or follow the link on the failed build. Upload the keystore you signed the app with, a .jks, .keystore, or .p12 file, and enter its password. The key alias is only needed when the keystore holds more than one key, and the key password only when it differs from the keystore password.

After a failed build, the screen shows the SHA-1 fingerprint Google expects and refuses a key that doesn't match it. Ruby Native stores the key encrypted, never shows it again, and signs your next Android build with it. Deploy again to retry.

Your next step is to invite Ruby Native's publisher service account so we can upload AABs on your behalf.