Applivery Docs

Get familiar with Applivery and explore the features

Applivery Fastlane Plugin


60 segs 2 steps Advanced

If you usually use Fastlane tools to automate the most common development tasks now you can start using our Fastlane Plugin to easily deploy new iOS and Android versions of your Apps to Applivery and close your development the cycle: Build, Test & deploy like a pro!

Some of the main features you'll get after start using Fastlane alon with Applivery are:

  • Forget about uploading versions and automate the deployment process
  • Get more context about your builds attaching and displaying the most relevant information: Direct link to the repository (GitHub & Bitbucket), commit hash, Branch, Tag, etc...
  • Use Fastlane lanes to create your own build & deploy workflows

List of builds deployed with fastlane
Build details including deployment information

 

Do you want to start using Fastlane with Applivery? First of all, you need to install Fastlane in your system in case you don't have it yet. To do so, please follow this simple guide.

Step 1 - Add the fastlane plugin

Everything you have to do is add the Applivery Fastlane Plugin to your project by running:

fastlane add_plugin applivery

Step 2 - Configuration

Once added, you’ll need to update your project Fastfile to configure the deployment in Applivery. A sample configuration might be:

desc "Generate a new build and upload it to Applivery.com"

# iOS App build and deploy
lane :applivery_ios do
  gym(
    scheme: "YOUR_APP_SCHEME",        # Your App Scheme
    export_method: 'enterprise')      # Choose between: enterprise or ad-hoc
  applivery(
    app_id: "YOUR_APP_ID",            # Your Applivery App Id
    api_key: "YOUR_API_KEY",          # Your Applivery API Key
    name: "YOUR_BUILD_NAME",          # OPTIONAL: A human-readable name for your build
    notify: false,                    # OPTIONAL: by default it's set to true
    notes: "Uploaded with fastlane",  # OPTIONAL: A human-readable release notes
    tags: "fastlane", #optional
    # build_path: "YOUR_APP.ipa"      # OPTIONAL: by default it takes the IPA build path generated by gym
    )
end

# Android App build and deploy
lane :applivery_android do
  gradle(task: "assembleRelease")
  applivery(
    app_id: "YOUR_APP_ID",           # Your Applivery App Id
    api_key: "YOUR_API_KEY",         # Your Applivery API Key
    name: "YOUR_BUILD_NAME",         # OPTIONAL: A human-readable name for your build
    notify: false,                   # OPTIONAL: by default it's set to true
    notes: "Uploaded with fastlane", # OPTIONAL: A human-readable release notes
    tags: "fastlane", #optional
    # build_path: "YOUR_APP.apk"     # OPTIONAL: by default it takes the APK build path generated by gradle
    )
end

You can always read more about the Applivery Fastlane plugin in our GitHub repository.

Now there are no excuses! It couldn’t be more easy! Now you can focus all your efforts on the development and forget the rest!

Start building and deploying your Apps like a pro!