Unleashing the Power of CodePush: Publish updates for Flutter Mobile App using Shorebird without new releases on App Store and Play Store.

Yogita Kumar
3 min readSep 19, 2023

--

In the rapidly evolving landscape of mobile app development, developers are constantly seeking innovative ways to streamline their workflow and reach their audience faster. One such game-changing tool is Microsoft’s CodePush, a revolutionary technology that allows for seamless updates to mobile applications without the need for Google Play Store or Apple App Store approval. In this article, we will learn about CodePush (OTA — on the air update) and explore how it can be harnessed in Flutter development to bypass traditional distribution channels.

Advantage of CodePush

CodePush, a cloud-based service by Microsoft, empowers developers to deploy updates directly to user devices without undergoing the rigorous review process of app stores. This service supports multiple platforms, including iOS, Android, and Windows, making it an ideal solution for developers working with various technologies.This is particularly advantageous for deploying critical bug fixes, feature enhancements, or time-sensitive updates directly to users.

How CodePush works

CodePush maintains a synchronized copy of the latest version of your app’s assets and code in the cloud. When an update is released, the client-side SDK integrated into your app checks for new releases during startup. If a new version is available, it automatically downloads and applies the update in the background.

Shorebird: The Flutter Companion built by Flutter Experts

Shorebird is a remarkable framework that complements Flutter’s capabilities by simplifying the integration of CodePush into your Flutter project. It provides a streamlined interface for managing CodePush deployments, allowing developers to focus on building exceptional user experiences.

Setting up shorebird

To incorporate Shorebird into your Flutter project, follow these steps:

  1. Sign up for free account sharebird account using below link:

2. Install the Shorebird CLI on your local computer. please refer below documentation for installation based on your OS.

3. Learn how to add code push (over the air updates) to your Flutter application by clicking below link:

Pros:

  1. Faster time to market : Changes can be made and pushed to users almost instantly.
  2. It can be integrated into existing Flutter apps without any code changes.
  3. Bypassing app store delays: Since updates are pushed directly to devices, there’s no need to wait for app store approval processes.

Cons:

  1. Requires users to be online: If a user’s device is offline when an update is pushed, they won’t receive the update until they reconnect.
  2. Limited to code changes: Code push updates are limited to Dart code changes.

Conclusion:

Although CodePush with Shorebird provides powerful tool to seamlessly deliver updates directly to user devices however exercise caution in implementation and ensure balance between rapid updates and considerations for security and stability. If used thoughtfully, CodePush is invaluable assets in your mobile app development.

Happy coding !!

--

--

Yogita Kumar

Google Developer Expert Flutter| Cloud Enthusiast | Full Stack Developer | .NET Developer |Coach and Trainer