• Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
Sunday, March 15, 2026
No Result
View All Result
Subscribe Now
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    Headless victim in 1976 New York cold case identified through DNA: police

    Headless victim in 1976 New York cold case identified through DNA: police

    What’s Good? – The New York Times

    What’s Good? – The New York Times

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Carney announces billions for defense and infrastructure in Canada’s North

    Carney announces billions for defense and infrastructure in Canada’s North

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    12-year-old girl dies days after collapsing following fight near school bus stop

    12-year-old girl dies days after collapsing following fight near school bus stop

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
The Insight Post
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    Headless victim in 1976 New York cold case identified through DNA: police

    Headless victim in 1976 New York cold case identified through DNA: police

    What’s Good? – The New York Times

    What’s Good? – The New York Times

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Israel’s Deadly Blockade Traps 7 U.S. Doctors in Gaza

    Carney announces billions for defense and infrastructure in Canada’s North

    Carney announces billions for defense and infrastructure in Canada’s North

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    Right-wing media’s Mamdani outrage fuels GOP anti-Muslim rhetoric

    12-year-old girl dies days after collapsing following fight near school bus stop

    12-year-old girl dies days after collapsing following fight near school bus stop

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Speaker Mike Johnson Sketches ‘Course Correction’ in DHS Deportation Policy

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    Where Was ‘War Machine’ Filmed? Discover the ‘War Machine’ 2026 Filming Locations for Alan Ritchson’s Netflix Movie

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

    L.A. City Council candidate stays in race after report that he stabbed a boy at age 12

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
No Result
View All Result
No Result
View All Result
Home Mobile

How to release your Flutter app to App Center for beta testing

by Theinsightpost
August 3, 2022
in Mobile
0 0
0
How to release your Flutter app to App Center for beta testing


In this article Ivy Walobwa will show you how to build and publish a signed Android version of your Flutter app to App Center with Codemagic.

Sharing your application with real users in real environments before your app goes live has to be one of the most exciting stages of app development. You get to release your application to targeted users to test and uncover bugs in your app — in other words, to beta test it.

Speed and automation are critical factors when releasing your app to beta testers. Therefore, it’s necessary to work with tools that can integrate new code into the existing codebase, perform tests, and release an updated version of the app automatically in less time.

Mac mini M1 VMs are already up and running! Want to try them out?Sign up

Codemagic and App Center

Codemagic is a CI/CD tool for mobile app projects. It works by automatically handling all the builds, tests, and releases for you. It has a repository integration that helps connect with the Git provider that hosts your Flutter app. You can then set up a workflow for development, testing, and releasing your app.

Building your app with Codemagic generates your app artifacts, which can be distributed through App Center. App Center enables you to ship applications faster and with greater confidence.

Prepare App for release

First, you’ll need a Flutter app hosted on your favorite Git provider. To prepare the app for release, you need to:

  • Set the app launcher icon
  • Set the app name
  • Assign a unique app ID

You can follow the guide in the official Flutter documentation to prepare your app for release. This tutorial uses a sample counter app that is prepared for release.

Set up Codemagic

You need a Codemagic account to use the CI/CD tool. If you don’t have one, you can sign up here. Codemagic is free up to 500 free build minutes every month.

Sign up

Once signed in, add a new application by connecting to your Git provider.

Connect Git provider

Next, select your repository from the dropdown and choose the project type. In this case, the project type is Flutter App (via Workflow Editor).

Select repository and project type

Your app is ready, and you can now add some settings to determine how your app will be built, tested, and deployed using the Workflow Editor.

Build your app with Codemagic

To build your app, you need to customize the build settings to suit it:

  1. Select your build platform. This tutorial publishes Android artifacts to App Center.

  2. Expand the “Build triggers” section and select your preferred build triggers. You can also configure the watched branches and tags. These settings will start a build whenever a selected trigger occurs.
    Add build triggers

  3. If your app contains some tests, you can configure the test settings accordingly.
    Add test configurations

  4. Expand the “Build” section and select your app’s build format and mode. Since you’ll be publishing your app to App Center, select “AAB” or “APK” for the build format and “Release” for the mode.
    Build configurations

Sign your app

To publish your app to App Center, you need to give it a digital signature. You can add code signing to your app via the Flutter Workflow Editor by following these steps:

  1. Create an upload keystore by running the command below in your Windows terminal and completing the prompts:
    keytool -genkey -v -keystore c:UsersUSER_NAMEupload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload

Replace USER_NAME with your username. This command creates a Keystore file and stores it in your home directory.

If you are on Mac/Linux, run the command described in the official Flutter documentation.

  1. Add the keystore information in the android/app/build.gradle file, as shown below:

    def keystoreProperties = new Properties()
    def keystorePropertiesFile = rootProject.file('key.properties')
    if (keystorePropertiesFile.exists()) {
        keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
    }
    
    android {
          ...
    }
    

The code snippet above references the keystore file that will be uploaded to your Codemagic workflow.

  1. Find the buildTypes block in the android/app/build.gradle file, and replace it with the code snippet below:

    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']
        }
    }
    buildTypes {
        release {
            signingConfig signingConfigs.release
        }
    }
    

The code snippet configures automatic signing for your app’s release builds.

  1. Go back to the Workflow Editor page, expand the “Android code signing” section under “Distribution”, and enable code signing. Add your keystore password.

Enable code signing

  1. Upload the keystore file you generated in step 1 to the Keystore section. Add upload as the key alias; this is the alias you added to the command in step 1 (... -alias upload).

You have successfully added code signing to your workflow and are now ready to publish your app to App Center.

Set up App Center

You need an App Center account to release your app. If you don’t have one, you can create an account for free.

Once signed in, add a new app, give it a name, and select “Beta” as your release type. It’s recommended to give your app on App Center the same name as your Android app name.

Since you configured Codemagic to build for Android, select “Android” as your OS and “Java/Kotlin” as your platform. You can upload your app icon as well.

Add app to App Center

You are now ready to release your app for testing!

Distribution App Center

Under the “Distribute” tab, select the “Groups” tab to create a new group. Add a new group by giving it a name and inviting members to it. Since you are releasing your app to beta testers, name it “Beta Testers”.

Creating a distribution group

You now have a group ready for your app’s first release.

Add App Center user API token

An API token is required to release your Flutter app to App Center. It’s recommended to create a new user API key for Codemagic.

You can add a new user API token from the “Settings” tab. Give your token a description and full access.

Generate user API token

Copy the generated key and head back to your Workflow Editor on Codemagic. Expand the “Environment variables” section and add an APP_CENTER_TOKEN variable for the key generated. The value of the variable is the key copied from App Center.

You can also add the path to your build output as your environment variables: build/app/outputs/bundle/release/app.release.aab.

Adding environment variables

Publish your Flutter app to App Center automatically with Codemagic

To distribute your Android artifacts to App Center, you’ll need to add a post-build script to your workflow.

  1. Click on the plus icon between your build and distribute configurations to add a post-build script. The script is meant to publish your artifact to App Center.
    Post-build script

  2. Add the code snippet below as your post-build script:

    echo 'Installing App Center CLI tools'
    npm install -g appcenter-cli
    echo "Publishing $aabPath to App Center"
    appcenter distribute release 
        --group "Beta testers" 
        --file $aabPath 
        --release-notes 'App submission via Codemagic' 
        --app ivywalobwa/Counter-App 
        --token $APP_CENTER_TOKEN 
        --quiet

The code snippet above installs the App Center command-line interface (CLI) that will be used to interact with App Center. It then distributes your app artifacts to App Center with the following configurations:

  • Beta testers — the name of your group
  • $aabPath — the path to your .apk, .aab, or .ipa artifacts
  • $APP_CENTER_TOKEN — the token obtained from the user settings in App Center
  • ivywalobwa/Counter-App — username/app name
  1. Save your changes and start a new build. You will be prompted to specify your build branch.

Specify build

Codemagic will automatically publish your build to App Center for you and add a green checkmark next to your app name if the build and deployment were successful.

Build and deployment successful

When you check your group on App Center, you should see a new release of your app.

New release added

Pat yourself on the back — you just performed some code magic!

Conclusion

Codemagic is the ultimate CI/CD tool. It automates your mobile app’s entire build, test, and release pipeline. During a build, Codemagic generates a signed app artifact that can be distributed through App Center.

In this article, you learned how to build and release your Android app’s signed version to App Center with Codemagic. You can now easily automate your Android app builds and deployment and save yourself some development time.

The application used in this tutorial can be found on GitHub. We hope you enjoyed this tutorial!


This article is written by Ivy Walobwa, a Flutter Developer and Technical Author. She’s passionate about communities and always willing to help facilitate students’ learning in the tech space. If she’s not building communities or creating content, she’s probably hiking on a random trail. Check out her profile.



Source link

ShareTweetSend
Previous Post

Tech News LIVE Updates Today: Solar storms, asteroids, NASA to Samsung Galaxy S23 Ultra

Next Post

Italy confronts its fascist past as the right prepares for power – POLITICO

Related News

ROI of AI in Manufacturing: Costs, Speed & Accuracy
Mobile

ROI of AI in Manufacturing: Costs, Speed & Accuracy

March 14, 2026
Avocado Health introduces AI-Powered text coaching for parents
Mobile

Avocado Health introduces AI-Powered text coaching for parents

March 13, 2026
India AI Impact Summit 2026: The Global South Takes Centre Stage in Shaping the Future of AI — Mobile App Development | Design
Mobile

India AI Impact Summit 2026: The Global South Takes Centre Stage in Shaping the Future of AI — Mobile App Development | Design

March 12, 2026
Mobile AppSec in CI/CD: Implementation Guide for DevSecOps
Mobile

Mobile AppSec in CI/CD: Implementation Guide for DevSecOps

March 11, 2026
Next Post
Italy confronts its fascist past as the right prepares for power – POLITICO

Italy confronts its fascist past as the right prepares for power – POLITICO

Discussion about this post

Subscribe To Our Newsletters

    Customer Support


    1251 Wilcrest Drive
    Houston, Texas
    77042 USA
    Call-832.795.1420
    e-mail – news@theinsightpost.com

    Subscribe To Our Newsletters

      Categories

      • Africa
      • Africa-East
      • African Sports
      • American Sports
      • Arts
      • Asia
      • Australia
      • Business
      • Business Asia
      • Business- Africa
      • Canada
      • Defense
      • Education
      • Egypt
      • Energy
      • Entertainment
      • Europe
      • European Soccer
      • Finance
      • Germany
      • Ghana
      • Health
      • Insight
      • International
      • Investing
      • Japan
      • Latest Headlines
      • Life & Living
      • Markets
      • Mobile
      • Movies
      • New Zealand
      • Nigeria
      • Politics
      • Scholarships
      • Science
      • South Africa
      • South America
      • Sports
      • Tech
      • Travel
      • Travel-Africa
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      Ancient Dogs Started Diversifying 11,000 Years Ago, Long Before the Modern Breeds We Know Today

      Ancient Dogs Started Diversifying 11,000 Years Ago, Long Before the Modern Breeds We Know Today

      March 15, 2026
      Another 3 members of Iran’s women’s soccer team decide against staying in Australia as refugees

      Another 3 members of Iran’s women’s soccer team decide against staying in Australia as refugees

      March 15, 2026
      Crown Prince Reza Pahlavi ready to lead Iran transition government

      Crown Prince Reza Pahlavi ready to lead Iran transition government

      March 15, 2026
      Larkey’s Kangaroos shut off Power for convincing win

      Larkey’s Kangaroos shut off Power for convincing win

      March 15, 2026
      • Home
      • Advertise With Us
      • About Us
      • Corporate
      • Consumer Rewards
      • Forum
      • Privacy Policy
      • Social Trends

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      Welcome Back!

      Login to your account below

      Forgotten Password?

      Retrieve your password

      Please enter your username or email address to reset your password.

      Log In

      Add New Playlist

      We are using cookies to give you the best experience on our website.

      You can find out more about which cookies we are using or switch them off in .

      No Result
      View All Result
      • Home
      • Insight
      • Blog
      • Business
      • Entertainment
      • Health
      • Politics
      • Shop
        • Gift Shop
        • Value Shop
        • Store
        • Bargain Shop
        • Discount
      • Sports
      • Tech
      • Travel
      • USA
      • Video
      • World
        • Asia
        • Africa
        • South America
        • North America
        • Europe
        • Oceania

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      The Insight Post
      Powered by  GDPR Cookie Compliance
      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

      Strictly Necessary Cookies

      Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

      Cookie Policy

      More information about our Cookie Policy