Challenge: Deployment with Codemagic
Challenge yourself to build and release your first Android app with Flutter and Codemagic
We'll cover the following...
- Goal
- Challenges
- Challenge 1: Prepare the app for release
- Challenge 2: Set up Codemagic
- Challenge 3: Build your app with Codemagic
- Challenge 4: Test the app with Codemagic
- Challenge 5: Sign your app
- Challenge 6: Manually publish your app to Google Play Store
- Challenge 7: Automatically publish your app to Google Play Store with Codemagic
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
Host your Flutter app in your favorite Git provider, for example, GitHub.
Include some tests in your Flutter application.
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.
Add the final name of your application. For more information on naming your app, follow the guide in the official Flutter documentation.
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:
Create an application and connect a repository from your Git provider. ...