Internal testing

Internal testing is the fastest Play track. Builds are available to up to 100 testers within minutes, with no Play review. It needs almost nothing set up: your app exists in Google Play Console, Ruby Native has access to it, and a build uploads. The store listing, content rating, and App content declarations are only needed for production.

#Add testers

Google Play Console keeps the tester list to itself, so this part is done by hand. Do it before your first build, and put your own Google account on the list.

  1. In Google Play Console, open Test and release, then Testing, then Internal testing, then the Testers tab.
  2. Click Create email list, name it Ruby Native, add the Google account signed in on your Android phone and anyone else testing, and click Save changes.
  3. Back on the Testers tab, check the Ruby Native list and click Save.

Google's set up an open, closed, or internal test guide has the full walkthrough.

#Deploy your first build

  1. In the rubynative.com dashboard, open Deploy to internal testing and click Deploy. From a terminal it's bundle exec ruby_native deploy --android.
  2. Preflight runs first and checks that Ruby Native can reach your app in Google Play Console. If it fails, fix the underlying issue (usually a missing service account invite, or the app not yet created in Google Play Console) and deploy again.
  3. The build runs for a few minutes. Ruby Native signs the AAB and uploads it to the Internal Testing track on Google Play Console automatically.

A build only succeeds once it has reached Google Play Console. If the upload fails, the build fails with a message that names the problem, so fix it and deploy again.

#Publish the first release

Your first build lands on internal testing as a draft release. Google Play refuses anything but a draft on an app that has never rolled out a release, so you publish this one yourself:

  1. In Google Play Console, open Internal testing and find the draft release.
  2. Click Edit release, then Next, then Save and publish.
  3. Back in the dashboard, click Next on the deploy step.

You only do this once. After that, every build goes live on internal testing on its own.

#Install the app

  1. Open the Testers tab, scroll to How testers join your test, and click Copy link under Join on the web. The link shows up once the release is published.
  2. Open the link on your Android phone, signed in to a Google account on your tester list, and tap Accept invite.
  3. Install the app from Google Play.

A new app's first build can take an hour or more to show up. Until then Google Play says "Item not found", so wait and try again. Testers accept the invite once, and the link stays the same across builds, so you only need to share it once.

#Troubleshooting

The preflight and upload steps emit specific error messages. Each maps to a setup step:

Message Cause Fix
Service account doesn't have publisher access for {package_name} Publisher invite not done or scoped to wrong app Repeat invite Ruby Native
Your Play Console listing for {package_name} doesn't exist App not created in Google Play Console, or package name mismatch Repeat create your app with the bundle ID configured in Ruby Native
Google Play won't publish this build automatically yet The first draft release was never published Publish the first release, then deploy again

If you imported an existing AAB or signing key and Play prompts you to accept App Signing, click through once in Google Play Console, then retry the build. An app that was on Google Play before Ruby Native also needs its existing upload key.