Skip to content

A fastlane plugin to upload both Android & iOS to TestApp.io and notify everyone for testing and feedback

License

Notifications You must be signed in to change notification settings

testappio/fastlane-plugin-testappio

Repository files navigation

TestApp.io Fastlane Plugin

BETA mode. Your feedback is highly appreciated.

A Fastlane plugin to upload both Android & iOS apps to TestApp.io to notify everyone for testing and feedback.

fastlane Plugin Badge Gem Version

Getting started

This project is a Fastlane plugin. To get started with fastlane-plugin-testappio, add it to your project by running:

fastlane add_plugin testappio

Configuration

More info here: https://help.testapp.io/ta-cli

Key Description Env Var(s) Default
api_token You can get it from https://portal.testapp.io/settings/api-credentials TESTAPPIO_API_TOKEN
app_id You can get it from your app page at https://portal.testapp.io/apps TESTAPPIO_APP_ID
release It can be either both or Android or iOS TESTAPPIO_RELEASE
apk_file Path to the Android APK file TESTAPPIO_ANDROID_PATH
ipa_file Path to the iOS IPA file TESTAPPIO_IOS_PATH
release_notes Manually add the release notes to be displayed for the testers TESTAPPIO_RELEASE_NOTES
git_release_notes Collect release notes from the latest git commit message to be displayed for the testers: true or false TESTAPPIO_GIT_RELEASE_NOTES true
git_commit_id Include the last commit ID in the release notes (works with both release notes options): true or false TESTAPPIO_GIT_COMMIT_ID false
notify Send notifications to your team members about this release: true or false TESTAPPIO_NOTIFY false

TestApp.io actions

Actions provided by the CLI: ta-cli

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane test.

To upload after the Fastlane gym action:

iOS
  lane :beta do

    increment_build_number
    match(type: "adhoc")
    gym(export_method: "ad-hoc")

    upload_to_testappio(
      api_token: "Your API Token",
      app_id: "Your App ID",
      release_notes: "My release notes here...",
      git_release_notes: true,
      git_commit_id: false,
      notify: true
    )

    clean_build_artifacts #optional

  end
Android
  lane :beta do

    increment_version_code #[Optional] fastlane add_plugin increment_version_code

    gradle(task: "clean assembleDebug") #or clean assembleRelease

    upload_to_testappio(
      api_token: "Your API Token", #You can get it from https://portal.testapp.io/settings/api-credentials
      app_id: "Your App ID", #You can get it from your app page in https://portal.testapp.io/apps
      release_notes: "My release notes here...",
      git_release_notes: true,
      git_commit_id: false,
      notify: true
    )

  end

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using Fastlane plugins

Check out the Plugins documentation for more information about how the plugin system works.

About Fastlane

Fastlane is the easiest way to automate beta deployments and releases for iOS and Android apps. To learn more, check out fastlane.tools.


Feedback & Support

Developers built TestApp.io to solve the pain of app distribution & feedback for mobile app development teams.

Join our community for feedback and support.

Check out our Help Center for more info and other integrations.

Happy releasing 🎉

About

A fastlane plugin to upload both Android & iOS to TestApp.io and notify everyone for testing and feedback

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages