<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sourav Barman on Medium]]></title>
        <description><![CDATA[Stories by Sourav Barman on Medium]]></description>
        <link>https://medium.com/@sourav.iit.nstu?source=rss-80b6c2abd0ff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4jveQeQ0C2UUNXb8rBs2ow.jpeg</url>
            <title>Stories by Sourav Barman on Medium</title>
            <link>https://medium.com/@sourav.iit.nstu?source=rss-80b6c2abd0ff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:20:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sourav.iit.nstu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Got Tired of Uploading Flutter Builds by Hand, So I Let GitHub Do It]]></title>
            <link>https://medium.com/@sourav.iit.nstu/i-got-tired-of-uploading-flutter-builds-by-hand-so-i-let-github-do-it-3f44922b2fe8?source=rss-80b6c2abd0ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f44922b2fe8</guid>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[mobile-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[cicd]]></category>
            <dc:creator><![CDATA[Sourav Barman]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 11:58:50 GMT</pubDate>
            <atom:updated>2026-11-17T11:58:50.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*09yETqwobIRNOPPE.png" /></figure><p><em>How I set up a pipeline that takes my Flutter app from </em><em>git push to the Google Play internal track, and the mistakes I made along the way.</em></p><p>Every Android release I did used to go the same way.</p><p>Pull the latest code. Run the tests (if I remembered). Open pubspec.yaml and bump the build number. Build the signed bundle. Open Play Console, find the right app, drag the .aab in, pick a track, write something in the release notes, and hit save.</p><p>None of it is hard. But it takes time, and it’s easy to get wrong. More than once I uploaded a bundle, Play Console told me the version code had already been used, and I had to go back to the start.</p><p>So I gave myself a small challenge: <strong>can one </strong><strong>git push take a Flutter app all the way to the Play Store with nothing done by hand?</strong></p><p>It can. It took me an afternoon, plus a few hours of being confused by Google Cloud. Here’s how I did it.</p><p>Every time I push to main, GitHub Actions starts a fresh Ubuntu machine and does this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*egeXMZJdHANvxu4A.png" /></figure><p>The part I like most is steps 4 and 5. If the analyzer complains or a test fails, the run stops before anything is signed or uploaded. Broken code never reaches my testers.</p><p>A full run takes about six and a half minutes. I push, go and make tea, and when I come back the build is waiting in the internal testing track.</p><p><strong>My setup:</strong> Flutter 3.44.2 (stable), Java 17, Gradle Kotlin DSL, GitHub Actions on ubuntu-latest, and the <a href="https://github.com/r0adkll/upload-google-play">r0adkll/upload-google-play</a> action for the upload.</p><p>Now the steps.</p><p>Google Play only accepts bundles signed with your upload key. On my laptop that’s simple, because the keystore is sitting right there. On a CI runner it’s a problem, because <strong>the keystore and its passwords can never go into the repo.</strong></p><p>If you don’t have one yet:</p><pre>keytool -genkey -v \ -keystore android/app/upload-keystore.jks \ -keyalg RSA -keysize 2048 -validity 10000 \ -alias upload</pre><p>GitHub Secrets only store text, and a .jks file is binary. The usual trick is to Base64-encode it:</p><pre>base64 -i android/app/upload-keystore.jks | pbcopy # macOS: copies it to the clipboard</pre><p>Hold on to that output. It goes into GitHub in Step 3.</p><p>A warning from experience: I first saved the Base64 output to a text file inside the project, and it ended up in a commit. An encoded keystore is still your keystore. If you save it to a file, add that file to .gitignore <strong>before</strong> you do anything else, and delete it once you&#39;ve copied it.</p><p>I wanted android/app/build.gradle.kts to work on my machine and in CI without any changes. So it:</p><ul><li>reads key.properties when that file exists (locally, and git-ignored), and</li><li>falls back to environment variables when it doesn’t (in CI, filled from GitHub Secrets).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bsOij76lC1iQrIpf.png" /></figure><p><em>Each signing value comes from </em><em>key.properties if it&#39;s there, and from an environment variable if not.</em></p><p>That way there’s one signing setup, and no secret lives in the code.</p><p>In android/.gitignore:</p><p>This was the part that took me the longest, mostly because it happens across two different consoles.</p><p>The pipeline needs its own identity to upload builds. In Google’s world that’s a <strong>service account</strong>: a robot user with its own email address and private key. You create it in Google Cloud, then invite it into Play Console like a teammate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HPw2W5HcQMfT9Jz2.png" /></figure><p>Go to <a href="https://console.cloud.google.com/">console.cloud.google.com</a>, sign in with the account that owns your Play developer account, and pick a project (or create one). Make sure it’s selected in the top bar before you go on.</p><p>This one caught me out. The <strong>Google Play Android Developer API</strong> is off by default in every project, and the error you get when it’s off doesn’t tell you much.</p><p>Go to <strong>APIs &amp; Services → Library</strong>, search for <em>Google Play Android Developer API</em>, and click <strong>Enable</strong>. Or from the terminal:</p><pre>gcloud services enable androidpublisher.googleapis.com --project=&lt;your-project-id&gt;</pre><p>The API, the service account and the key all need to be in the <strong>same</strong> project. If they aren’t, you’ll see API has not been used in project ... or it is disabled.</p><p>Go to <strong>IAM &amp; Admin → Service Accounts → Create service account</strong>. I called mine flutter-ci-cd-service. You can skip the &quot;grant this service account access to project&quot; step, because Play permissions are set in Play Console, not in Google Cloud.</p><p>When it’s created, copy its email address. You’ll need it in a minute.</p><p>Open the service account, go to the <strong>Keys</strong> tab, then <strong>Add key → Create new key → JSON</strong>. A file downloads.</p><p>Treat that file like a password. It’s the only copy, and anyone who has it can upload builds of your app. It goes into GitHub Secrets in Step 3, and then I’d delete it from your Downloads folder.</p><p>(If key creation is blocked, your Google Workspace organization probably has the iam.disableServiceAccountKeyCreation policy turned on. An admin has to allow it for your project.)</p><p>In <a href="https://play.google.com/console">Play Console</a>, go to <strong>Users and permissions</strong> at the account level (not inside an app), and click <strong>Invite new users</strong>. Paste the service account email. It’s the same as the client_email field in the JSON file.</p><p>Under <strong>App permissions</strong>, add just your app and turn on:</p><ul><li>View app information (read-only)</li><li>Release apps to testing tracks</li><li>Manage testing tracks and edit tester lists</li><li>Release to production (only if you want the pipeline to ship to production)</li></ul><p>You <em>could</em> give it account-wide permissions, but then it can touch every app you own. One app is enough.</p><p>Service accounts don’t need to accept the invite. If your first run says The caller does not have permission, wait a few minutes. It took a while for mine to start working.</p><p>This surprised me: <strong>the Play API can only update an app that already exists.</strong> It can’t create one. So before your first pipeline run, create the app in Play Console, build a signed bundle locally, upload it once to internal testing yourself, and fill in the required app setup (privacy policy, content rating, and so on).</p><p>After that, the pipeline handles every upload.</p><p>In your repo, go to <strong>Settings → Secrets and variables → Actions</strong> and add five secrets:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ch4yHIDcq8VJn84R.png" /></figure><p><em>Only the names show up here. GitHub never shows a secret’s value again after you save it.</em></p><p>GitHub encrypts these, hides them in the logs, and doesn’t pass them to workflows started from forks.</p><p>Create .github/workflows/deploy.yml:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/0*zo7oBuqBfG69Wkbl.png" /></figure><p>Here’s the whole thing:</p><pre>name: Deploy to Play Store on: push: branches: - main jobs: build_and_deploy: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Setup Java uses: actions/setup-java@v4 with: distribution: java-version: - name: Setup Flutter uses: subosito/flutter-action@v2 with: flutter-version: channel: - name: Install Dependencies run: flutter pub get - name: Analyze Code run: flutter analyze - name: Run Tests run: flutter test - name: Decode Keystore run: echo &quot;${{ secrets.ANDROID_KEYSTORE_BASE64 }}&quot; | base64 --decode &gt; android/app/upload-keystore.jks - name: Accept Android Licenses run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses || true - name: Update pubspec version run: | VERSION=$(grep &#39;version:&#39; pubspec.yaml | awk &#39;{print $2}&#39;) NAME=$(echo $VERSION | cut -d+ -f1) BUILD=$(echo $VERSION | cut -d+ -f2) NEW_BUILD=$((BUILD+1)) sed -i &quot;s/version: $VERSION/version: $NAME+$NEW_BUILD/&quot; pubspec.yaml - name: Build App Bundle run: flutter build appbundle --release env: ANDROID_KEYSTORE_PATH: upload-keystore.jks KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} KEY_ALIAS: ${{ secrets.KEY_ALIAS }} KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} - name: Upload to Play Store uses: r0adkll/upload-google-play@v1 with: serviceAccountJsonPlainText: ${{ secrets.PLAY_CONFIG_JSON }} packageName: com.yourcompany.yourapp releaseFiles: build/app/outputs/bundle/release/app-release.aab track: internal # internal | alpha | beta | production</pre><p>A few notes on the less obvious steps:</p><ul><li><strong>Decode Keystore</strong> rebuilds the .jks from the secret. It only exists on the runner, which is thrown away when the job ends.</li><li><strong>Accept Android Licenses</strong> stops the build from hanging on an SDK licence prompt that nobody is there to answer.</li><li><strong>Update pubspec version</strong> bumps 1.0.0+5 to 1.0.0+6 so Play doesn&#39;t reject the upload for reusing a version code.</li><li><strong>packageName</strong> has to match your app’s applicationId exactly.</li></ul><pre>git add . git commit -m git push origin main</pre><p>Open the <strong>Actions</strong> tab in your repo and you’ll see the run start. Each step has its own logs, which helps a lot when something breaks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yBYDny-KJv07c2fz.png" /></figure><p><em>My first fully green run: checkout to Play Store upload in 6 minutes 39 seconds.</em></p><p>When it’s done, go to <strong>Play Console → Testing → Internal testing</strong>. The new release is there, ready for testers.</p><p>I’ll admit I refreshed that page a few times before I believed it.</p><p>It didn’t work first time. Here’s what broke, roughly in order:</p><ol><li><strong>Signing worked locally but failed in CI.</strong> My Gradle file only read key.properties, which doesn&#39;t exist on the runner. Adding the environment-variable fallback fixed it.</li><li><strong>I couldn’t store the keystore as a secret.</strong> Secrets are text only. Base64 solved that.</li><li><strong>I committed the Base64 keystore.</strong> The encoded file was in the project folder and got picked up by git add .. I untracked it and added it to .gitignore. Deleting a file in a new commit doesn&#39;t remove it from history, though. If your repo is or ever was public, purge it with something like git filter-repo and <strong>rotate the key</strong>.</li><li><strong>“API has not been used in project… or it is disabled.”</strong> I hadn’t enabled the Play Developer API. See Step 2.2.</li><li><strong>“Version code has already been used.”</strong> Every upload needs a higher version code. That’s why the bump step exists.</li><li><strong>Package name mismatch.</strong> I’d left the default com.example.* ID from flutter create. I had to rename namespace, applicationId and the package of MainActivity.kt to match the app in Play Console.</li></ol><ul><li><strong>Make quality checks a gate.</strong> Analyze and test before you sign anything. It costs a minute and has already stopped me shipping a broken build.</li><li><strong>Pin your versions.</strong> A fixed Flutter and Java version means today’s build behaves like last week’s.</li><li><strong>Signing material never touches Git.</strong> Use .gitignore locally and encrypted secrets in CI, every time.</li><li><strong>Least privilege for the robot.</strong> One app and only the permissions it needs.</li><li><strong>Ship to internal testing first.</strong> Promote to beta or production once real people have tried the build.</li></ul><p>The pipeline works, but there’s more I want to add:</p><ul><li><strong>Build numbers that survive.</strong> Right now the bump only changes pubspec.yaml on the runner and never commits it back. Passing --build-number=${{ github.run_number }} to the build is simpler and always goes up.</li><li><strong>Separate CI from CD.</strong> Run analyze and test on every pull request, and only deploy when code is merged to main or a version tag is pushed.</li><li><strong>Caching.</strong> Caching Flutter and Gradle dependencies should cut a good chunk off the run time.</li><li><strong>iOS.</strong> TestFlight with Fastlane or the App Store Connect API is next on the list.</li><li><strong>Notifications.</strong> A Slack message when a build lands, plus release notes generated from commit messages.</li></ul><p>The main thing I took away is that the YAML is the easy part. Most of the work, and most of the risk, is in handling secrets: the keystore, the passwords, and the service account key. Get those right and everything else is straightforward.</p><p>Now every release goes through the same steps, nothing depends on my memory, and a failing test blocks a release within a few minutes.</p><p>If you’re still uploading builds by hand, give it a try. The setup takes an afternoon, and you get that time back after a few releases.</p><p>If you have questions or have built something similar, I’d like to hear about it in the comments.</p><p><em>Sourav Barman, Flutter Developer</em></p><p>#Flutter #CICD #GitHubActions #AndroidDevelopment #MobileDevelopment</p><p><em>Originally published at </em><a href="https://github.com/souravbarman01/CICD_Flutter/blob/3b7e173/cicd_medium.md"><em>https://github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f44922b2fe8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ship Flutter Fixes Over the Air with flutter_patcher and GitHub Actions]]></title>
            <link>https://medium.com/@sourav.iit.nstu/ship-flutter-fixes-over-the-air-with-flutter-patcher-and-github-actions-6570f20d710d?source=rss-80b6c2abd0ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/6570f20d710d</guid>
            <category><![CDATA[over-the-air-update]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Sourav Barman]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 10:42:09 GMT</pubDate>
            <atom:updated>2026-11-17T10:42:09.924Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Merge a pull request and your users get the change a few minutes later. No store upload, no reinstall. Part 1 of my OTA series.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QtR_UfcLCM0eDRUh.jpeg" /></figure><p>Picture this. Your Flutter app is live. A user reports a typo on the home screen. The fix is one line, but shipping it means a new build, a store upload, a review, and then waiting for people to update.</p><p>What if you could skip that wait for small Dart fixes?</p><p>In this post, I’ll show you how to fix an issue in a live Flutter app with an <strong>over-the-air (OTA) patch</strong>, using a practice project. You’re going to learn how to use <strong>flutter_patcher</strong> with <strong>GitHub Actions</strong> to add OTA updates to a Flutter app. Here’s what it does: <strong>you merge a PR into </strong><strong>main, and the app downloads and installs the fix by itself.</strong></p><p>The stack:</p><p>The full working project is public: 👉 <a href="https://github.com/souravbarman01/learn_ota"><strong>souravbarman01/learn_ota</strong></a>. The long reference guide is <a href="https://github.com/souravbarman01/learn_ota/blob/main/OTA_GUIDE.md">OTA_GUIDE.md</a>.</p><p>The picture at the top shows the whole flow:</p><ol><li><strong>Development &amp; build:</strong> you merge dev into main. GitHub Actions builds and signs a patch against the store build.</li><li><strong>Hosting &amp; delivery:</strong> the patch (.fptc) and patches.json are published to the gh-pages branch, served by GitHub Pages.</li><li><strong>End-user device:</strong> the app checks for the patch, downloads it, verifies it and restarts with the fix.</li></ol><p>Four words to know:</p><ul><li><strong>Host (store build):</strong> the APK users install.</li><li><strong>Baseline:</strong> a snapshot of the host. Every patch is compiled against it.</li><li><strong>Patch (</strong><strong>.fptc):</strong> only your changed Dart code and assets, signed with your key.</li><li><strong>Build number:</strong> the part after + in version: 1.0.0+2. A patch only fits a host with the <strong>same</strong> build number.</li></ul><p>flutter_patcher 1.1.1 supports Flutter <strong>3.47.0 to 3.47.9</strong>. I pinned <strong>3.47.5</strong> everywhere:</p><p>The same version goes into FLUTTER_VERSION in both workflows. If the local build, CI and the store build use different Flutter versions, patches won&#39;t apply.</p><pre>flutter pub add flutter_patcher:1.1.1 http</pre><p>Pin the exact version. Upgrading flutter_patcher later means a new store release.</p><pre>dart run flutter_patcher init</pre><p>This creates <a href="https://github.com/souravbarman01/learn_ota/blob/main/flutter_patcher.yaml">flutter_patcher.yaml</a> and a signing key. Point url at your GitHub Pages address:</p><p>The file holds only the <strong>public</strong> key, so it is safe to commit.</p><p>Now export the private key for CI:</p><pre>dart run flutter_patcher keys export --base64 # → GitHub secret dart run flutter_patcher keys export --out flutter_patcher_keys.bundle</pre><ul><li>Add the base64 output as a repository secret named FLUTTER_PATCHER_KEYS (<a href="https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions">how to add secrets</a>).</li><li>Put the .bundle file in a password manager. <strong>Never commit it.</strong> If you lose it, you can&#39;t patch apps that are already installed.</li></ul><p>Add these lines to .gitignore:</p><pre>.flutter_patcher/ * .fptc flutter_patcher_keys.bundle</pre><ul><li>holds the patches and a patches/patches.json list (it starts as []).</li><li><strong>baselines</strong> holds the store build snapshots. Never delete it.</li></ul><p>Create both as <a href="https://git-scm.com/docs/git-switch#Documentation/git-switch.txt---orphanltnew-branchgt">orphan branches</a>. The exact commands are in <a href="https://github.com/souravbarman01/learn_ota/blob/main/OTA_GUIDE.md#46-gh-pages-and-baselines-branches">the guide, §4.6</a>. Then turn on Pages for gh-pages ( <a href="https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site">publishing source docs</a>).</p><ul><li><a href="https://github.com/souravbarman01/learn_ota/blob/main/.github/workflows/release-host.yml"><strong>release-host.yml</strong></a> runs <strong>manually</strong>. It builds the store APK, saves the baseline to baselines, and creates a GitHub Release.</li><li><a href="https://github.com/souravbarman01/learn_ota/blob/main/.github/workflows/ota-patch.yml"><strong>ota-patch.yml</strong></a> runs <strong>automatically</strong> on every push to main that touches lib/, assets/ or pubspec. It builds and signs the patch, then publishes it to gh-pages.</li></ul><p>The core of the patch workflow is a single command:</p><pre>dart run flutter_patcher patch android --out build/patch</pre><p>Everything else in the file is setup, plus a few CI workarounds. Copy <a href="https://github.com/souravbarman01/learn_ota/tree/main/.github/scripts">.github/scripts/</a> along with the workflows. Pushing workflow files needs the workflow scope:</p><pre>gh auth refresh -h github.com -s workflow</pre><p>Call FlutterPatcher.init() before runApp ( <a href="https://github.com/souravbarman01/learn_ota/blob/main/lib/main.dart">main.dart</a>). Then add a screen that checks for updates and installs them ( <a href="https://github.com/souravbarman01/learn_ota/tree/main/lib/ota">lib/ota/</a>).</p><p><strong>One gotcha cost me a day.</strong> The built-in checkUpdate() doesn&#39;t work with GitHub Pages. Dart asks for gzip, Pages compresses the file and then applies the byte range to the <em>compressed</em> data, and the result is FormatException: Not a patch file.</p><p>The fix is to download the patch yourself with Accept-Encoding: identity and pass the bytes to FlutterPatcher.applyPatchBytes(). See <a href="https://github.com/souravbarman01/learn_ota/blob/main/lib/ota/patch_service.dart">patch_service.dart</a> and <a href="https://github.com/souravbarman01/learn_ota/blob/main/OTA_GUIDE.md#9-why-the-app-downloads-patches-itself">the guide, §9</a>.</p><p>Run <strong>Actions → Release host (store build) → Run workflow</strong>, or from the terminal:</p><p>Install the APK from the GitHub Release on an arm64 Android 9+ phone. The OTA screen should say <strong>OTA patching enabled</strong>.</p><p>This is the part you’ll repeat for every change:</p><pre>git switch dev &amp;&amp; git pull # change something in lib/ flutter analyze &amp;&amp; flutter test git commit -am git push gh pr create --base main --head dev --title</pre><ol><li>Merge the PR. Its title becomes the patch title in the app.</li><li><strong>OTA patch</strong> starts by itself and takes about 2–3 minutes.</li><li>Wait 1–5 minutes for GitHub Pages to update.</li><li>On the phone: OTA icon → pull to refresh → <strong>Install</strong> → <strong>Accept</strong>.</li><li>The app restarts with your change. 🎉</li></ol><ul><li><strong>Only Dart code and assets.</strong> New plugins, changes in android/ or ios/, or a Flutter upgrade need a new store release with a bumped build number.</li><li><strong>Only APIs the store build already uses.</strong> If the host never used MainAxisSize, a patch can&#39;t either, and CI fails with PATCH_UNSAFE. I wrote <a href="https://github.com/souravbarman01/learn_ota/blob/main/tool/host_api.sh">tool/host_api.sh</a> to check this before writing code.</li><li><strong>Android arm64, Android 9+.</strong> Other devices just run the store code.</li><li><strong>Store policies.</strong> Google Play and the App Store restrict apps that download executable code. Read the <a href="https://support.google.com/googleplay/android-developer/answer/9888379">Google Play policy</a> and <a href="https://developer.apple.com/app-store/review/guidelines/#software-requirements">App Store guideline 2.5.2</a> before using this in a published app.</li></ul><p>When something breaks, the <a href="https://github.com/souravbarman01/learn_ota/blob/main/OTA_GUIDE.md#11-troubleshooting">troubleshooting table</a> lists every error I hit and its fix.</p><p>Building this myself showed me how OTA works under the hood: baselines, signing, hosting, and the download itself.</p><p>In <strong>Part 2</strong>, I’ll do the same thing with <a href="https://shorebird.dev/"><strong>Shorebird</strong></a>, a managed code push service for Flutter. I’ll compare its release and patch flow with this setup and look at what it handles for you, like hosting, rollout and rollback. I’ll also cover when each approach makes sense.</p><p>Follow along so you don’t miss it. 👋</p><p><em>Source code: </em><a href="https://github.com/souravbarman01/learn_ota"><em>github.com/souravbarman01/learn_ota</em></a></p><p><em>Originally published at </em><a href="https://github.com/souravbarman01/learn_ota/blob/main/ota_medium.md"><em>https://github.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6570f20d710d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>