Using Fastlane in Flutter and CI

Prerequisites:

  1. Open your Flutter project

  2. Run: cd ios

  3. Run: fastlane init and follow the prompts

  4. Replace the Fastfile contents with this:

  1. Run: cd .. && cd android

  2. Run: fastlane init and follow the prompts

  3. Replace the Fastfile contents with this:

  1. Run: fastlane add_plugin versioning_android and enter your password if needed

  2. Run: cd ..

Now you are ready to launch your app to beta!

For ios run: cd ios && fastlane beta

For android run: cd android && fastlane beta

Stay tuned for an article soon where we use these fastlane sub folders for automating the releases on Github Actions CI

🙏🙏🙏

Since you've made it this far, sharing this article on your favorite social media network would be highly appreciated 💖! For feedback, please ping me on Twitter.

Published