Search⌘ K

Challenge: Deployment with Codemagic

Explore the process of deploying Flutter applications using Codemagic. Learn to prepare your app for release, connect your repository, configure builds and tests, handle app signing, and automate publishing to the Google Play Store. This lesson equips you with skills to effectively manage app deployment workflows in Flutter projects.

In this challenge, you will use Codemagic to handle all your app builds, tests, and releases automatically.

Goal

The goals of this challenge include:

  • Learn to prepare an app for release

  • Learn to build, test, sign, and publish an app using Codemagic

Challenges

Challenge 1: Prepare the app for release

  1. Host your Flutter app in your favorite Git provider, for example, GitHub.

  2. Include some tests in your Flutter application.

  3. Add an app launcher icon. A new Flutter app comes with a default launcher icon—you can use the default or customize your own. Follow the guide on the official Flutter documentation to customize your launcher icon.

  4. Add the final name of your application. For more information on naming your app, follow the guide in the official Flutter documentation.

  5. Assign your app a unique ID.

Challenge 2: Set up Codemagic

To use the CI/CD tool, you need a Codemagic account. If you do not have one, you can sign up for Codemagic with your Git provider. 

To set up Codemagic, you need to:

  1. Create an application and connect a repository from your Git provider. ...