Fastlane

Fastlane App Distribution on Every Lane Run

Drop a few lines into your Fastfile for Fastlane app distribution without a separate tool: whichever lane builds your release now pushes it to AppShare too.

What You Get

Three Reasons Teams Automate This Step

  • Fits an Existing Lane

    Add it to the release lane you already run, instead of standing up something new.

  • Works Anywhere Fastlane Does

    Standalone from your terminal, or inside whatever CI is already calling Fastlane, same two lines either way.

  • No Separate Secrets Setup

    Use the same ENV variable approach Fastlane already recommends for every other key you're managing.

SETUP

Set Up Fastlane Mobile App Deployment in Four Steps

Upload Android builds and handle Fastlane IPA deployment from the lanes you already run.

1
Step 1

Find it in the fastlane/ folder at your project root.

2

Set your API key in .env

Secret

Add APPSHARE_API_KEY to fastlane/.env or set it in your CI environment.

3

Add the commands to a lane

Lane

Add the upload_to_appshare lane to trigger the CLI upload.

4

Commit & Run

Deploy

Run your lane locally or push to trigger your CI workflow.

Step 1 of 4
Step 1

Open your Fastfile

Open fastlane/Fastfile in your repository.

fastlane/Fastfile

default_platform(:android)

platform :android do
  # Your existing lanes
end

LIFECYCLE

What Actually Happens on a Lane Run

  • 01

    The Lane Runs

    Triggered manually, or by whatever CI step already calls fastlane release

  • 02

    Fastlane Builds the App

    The lane runs its build action, gradle for Android or gym for Fastlane iOS deployment, producing the actual file.

  • 03

    AppShare CLI Installs

    The sh action installs AppShare CLI fresh, right after the build action finishes.

  • 04

    Build Gets Pushed

    The CLI reads the ENV variable and uploads the file the build action just produced.

UNDER THE HOOD

Fastlane Just Runs the CLI

Those two lines in the lane are just AppShare CLI, running inside Fastlane instead of your terminal.

Other Platforms

AppShare Works With Your Pipeline Too

FAQ

Questions About the Fastlane Integration

What is Fastlane app distribution?

It means adding AppShare to the Fastlane lanes you already run, so every Android or iOS build they produce goes straight to testers. After your build action finishes, an sh action installs the AppShare CLI and uploads the .apk or .ipa. Testers get an install link and QR code without anyone uploading the build by hand.

How do I keep my API key out of the Fastfile?

Set it as an environment variable, never inside the Fastfile. Locally, put it in fastlane/.env and add that file to .gitignore, since Fastlane loads it automatically. In CI, store it with your provider’s secret or environment settings instead. The AppShare CLI reads the variable at runtime, so the key never appears in your repository.

Can I add release notes automatically?

Not from the pipeline yet. The AppShare CLI uploads the build (appshare <file> --app-id <slug>) and has no release notes flag. Once the upload finishes, add or edit the notes on the release's Release Notes tab in AppShare, and testers see them on the install page.

How do I set up Fastlane mobile app deployment with AppShare?

Open fastlane/Fastfile and add two sh actions to your release lane, after the build action: one installs the AppShare CLI, the other uploads the build. Keep in mind that sh runs from inside the fastlane folder by default, not your project root, so write the build path relative to that folder or pass an absolute path.

Does Fastlane need a specific CI service to run this?

No. The lane runs the same way wherever Fastlane runs: from your own terminal with fastlane release, or from any CI service that already calls Fastlane, such as GitHub Actions, Bitrise, or Jenkins. The AppShare commands inside the lane do not change between environments, so you only set it up once for both local and CI runs.

Is Fastlane integration included on the Free plan?

Yes. CI/CD integration, including Fastlane, is included on every AppShare plan, even Free, so there is nothing extra to unlock. Plan limits still apply to upload size and active apps. The lane does not block manual uploads either, so you can still push a one-off build from the dashboard or the CLI whenever you need to.

Get Started

Two Lines, One Existing Lane

Add the commands, set your key, and your next fastlane release ships the build too.

  • Runs standalone or inside any CI

  • Two lines, one existing lane

  • Works for iOS and Android alike

About Zunoy

Ask a question about Zunoy's products, pricing, or docs.

⌘K