<?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 Ngọc Võ @ngocbietcode on Medium]]></title>
        <description><![CDATA[Stories by Ngọc Võ @ngocbietcode on Medium]]></description>
        <link>https://medium.com/@ngocbietcode?source=rss-7fe3507b3c8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DC8y99L2zfEJ0i1J4Th97w.jpeg</url>
            <title>Stories by Ngọc Võ @ngocbietcode on Medium</title>
            <link>https://medium.com/@ngocbietcode?source=rss-7fe3507b3c8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:36:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ngocbietcode/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[Flutter’s Secret Ingredients: Flavors and Configs for Dynamic Apps — Part 2: Cook your app flavor]]></title>
            <link>https://medium.com/@ngocbietcode/flutters-secret-ingredients-flavors-and-configs-for-dynamic-apps-part-2-cook-your-app-flavor-bf80adefb501?source=rss-7fe3507b3c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf80adefb501</guid>
            <dc:creator><![CDATA[Ngọc Võ @ngocbietcode]]></dc:creator>
            <pubDate>Fri, 08 Mar 2024 01:02:11 GMT</pubDate>
            <atom:updated>2024-03-08T01:02:11.864Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WJsOfhejx4-8BmCk8M0X1g.png" /></figure><h3>Flutter’s Secret Ingredients: Flavors and Configs for Dynamic Apps — Part 2: Cook your app’s flavor</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kmHozA00lf80bZ3NlFh8gw.png" /></figure><p>In the previous part, we learned what environment and flavor are. In this part, we will dive into a ‘cooking session’ to cook a flavorful app!</p><p>Let’s see what we have in the recipe’s checklist!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0_brLqGtnuvX1iVDYFMx3w.png" /></figure><p>Alright, the first step is to prepare the kitchen!</p><h3>Step 1: Kitchen setup</h3><p><strong>(Prerequisites)</strong></p><ul><li><strong>Xcode </strong>installed <em>(To set up flavors in iOS, you’ll define build configurations in Xcode)</em></li><li>Your <strong>Flutter project </strong>(of course 🔥)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wgnJ4tIaXfKdUQ8gaBoILw.png" /><figcaption>The app for the demo is my_awesome_project</figcaption></figure><ul><li><strong>Android Studio </strong><em>(To easily setup and test flavors in Android)</em></li></ul><p>After finishing setting up your kitchen (preparing the IDEs), let’s start with flavors setup! In this article, we will setup 2 most common flavors: <strong>staging and production</strong>.</p><h3><strong>Step 2:</strong> Setup flavors in Android</h3><ol><li>Inside your Flutter project, navigate to <strong>android/app/build.gradle</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/0*v6ZFSghK5sleRCSm" /></figure><p>2. Create a <strong>flavorDimension</strong> to group your added product flavors. Gradle doesn’t combine product flavors that share the same <strong>dimension</strong>.</p><p>For example:</p><pre>flavorDimensions &quot;app&quot;</pre><p>3. Add a <strong>productFlavors</strong> object with the desired flavors along with values for <strong>dimension</strong> and <strong>applicationId</strong> or <strong>applicationIdSuffix</strong>.</p><blockquote>If you want to install both the staging mode app and the production mode app on one device, consider giving the staging mode app another applicationId. The most convenient way is to add an applicationIdSuffix (Example: staging.com.example.my_awesome_project). With this approach, you still know what the original applicationId is.</blockquote><pre>flavorDimensions &quot;app&quot;<br>productFlavors {<br>    staging {<br>        dimension &quot;app&quot;<br>        applicationIdSuffix &quot;.staging&quot;<br>    }<br>    production {<br>        dimension &quot;app&quot;<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F4p7j0DNyLGPl9ispCVeMg.png" /></figure><h3>Step 3: Setup flavors in iOS</h3><ol><li>Open your Xcode</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/0*gNVZGJYylXBpRMhR" /></figure><p>2. Select <strong>Product &gt; Scheme &gt; New Scheme</strong> from the menu to add a new Scheme</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*0MQfOCahtkkN9fFX" /></figure><p>3. Duplicate the build configurations to differentiate between the default configurations that are already available and the new configurations for the <strong>new schemes</strong>.</p><p>4. To match the staging/production flavor, add -staging/production at the end of each new configuration name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/0*_3MdQSZ1k0aCzK2l" /></figure><p>5. Change the scheme to match the build configurations already created</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/0*peAi16R4QMgDtugJ" /></figure><h3>Step 3&#39;: Using flavors in iOS</h3><p>1. Change the app bundle identifier to differentiate between schemes. In <strong>Product Bundle Identifier</strong>, append <strong>.staging</strong> to each <strong>-staging scheme</strong> value</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/0*UyImKMyard6Dnvy5" /></figure><p>2. In the <strong>Build Settings</strong>, set the <strong>Product Name </strong>value to match each flavor</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/0*b1qn_w3SGD_4e0nR" /></figure><p>3. Add the display name to <strong>Info.plist</strong>. Update the <strong>Bundle Display Name </strong>value to $(PRODUCT_NAME).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/0*nrJ5kSz8xcHifXv6" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJsQz_Wjxr3iybf-8yYgAg.png" /></figure><p>If you have followed all the steps above, you have now successfully added 2 flavors (staging and production) to your application. The next step is to store and read the appropriate configuration values for each flavor, and build our app accordingly.</p><p>You must now think JSON is the fastest way to store our config, but let’s see what we’ve got in the next part!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf80adefb501" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter’s Secret Ingredients: Flavors and Configs for Dynamic Apps — Part 1: What are environment…]]></title>
            <link>https://medium.com/@ngocbietcode/flutters-secret-ingredients-flavors-and-configs-for-dynamic-apps-part-1-what-are-environment-df0130f1ded9?source=rss-7fe3507b3c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/df0130f1ded9</guid>
            <dc:creator><![CDATA[Ngọc Võ @ngocbietcode]]></dc:creator>
            <pubDate>Thu, 22 Feb 2024 01:02:01 GMT</pubDate>
            <atom:updated>2024-02-22T01:02:01.216Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cFXUaSYSm_VVoU3z2uU-LQ.png" /></figure><h3>Flutter’s Secret Ingredients: Flavors and Configs for Dynamic Apps — Part 1: What are environment and flavor?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UGKexEik2R8V8WAKY31vNA.png" /></figure><p><strong>Have you ever tried a food outside of its origin country? Or simply the same food but in different restaurants?</strong></p><p>Sometimes, we find that even when we try the same food, it’s a bit different from one restaurant to another. What causes these differences?</p><p>And yes, we’re talking about <strong>flavor</strong>! But what makes the flavor? You must have heard about <strong>spices</strong>, <strong>the secret ingredients for every dish</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LzrSo1jB7jU9sL1vHs1iQg.png" /></figure><h3>What is app’s flavor?</h3><blockquote>Let’s imagine that you have an application that has multiple login channels and is published in two regions, let’s say it’s region A and region B. <strong>In region A</strong>, you want your application to use the domain regionA.com for its requests, and in region B, it would be regionB.com. Additionally, region A will have a different app logo based on the interests of the users in that place. You also need two different Firebase projects for two different markets, but all your features remain the same for app consistency.</blockquote><p>In this case, we have “3 things” that must be dynamic based on the publishing region.</p><p>To achieve this, you would need to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ye60s5ZPAWGTPGuiv4_6w.png" /></figure><ul><li>Customize the URL which your app is pointing. Only the end point changes but the core app features remains the same.</li><li>Change your app logo, app name for different target users.</li><li>Switch between different Firebase projects to get different Firebase Remote Config and other features.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mQl9dsiVAeCkBynLOHUh1w.png" /></figure><p>And we can call the work of setting configuration like above is configure the application’s environment. But the question is:</p><blockquote>How to build an application with the right environment?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-WFR3r4kEPMy4a9CGNdTig.png" /></figure><p>It seems to be the simplest way to configure all stuff with hardcode 🤡 All you need to do is put your desired value in a variable that is use for our app’s environment. <strong>Very EASY!</strong></p><p><strong>Except ONE thing</strong>! Remember, <strong>this value is hardcoded</strong>! <strong>You’ll have to find it and replace it</strong> when you need another value. Perhaps we should put some keywords on top of it, and then use the<em> Search All </em>feature of our IDE to address it like this?</p><pre>void configApp() {<br><br>  //TODO:<br>  //Remember this is HARDCODE <br>  //Remember this is HARDCODE <br>  //Remember this is HARDCODE <br>  <br>  String url = “droidcon.com”<br><br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qS6DHL1DK5-8yvqNgTv3Vw.png" /></figure><p>Sure! You might be fine with this approach, but as the number of configuration values grows, troubles arise!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8v8GYfJ9TKM0KUzlQuwTHQ.png" /></figure><h3>Flavors is here to help!</h3><p>Flavors (known as build configurations in iOS) allow you to create separate environments for your app using the same code base.</p><p>Flavors let you define compile-time configurations and set parameters that are read at runtime to customize your app’s behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vs21LodXZpOBhJg5wuv8Mg.png" /></figure><p>In most cases, we will have 2 common environments: <strong>Staging</strong> and <strong>Production</strong></p><h3><strong>Staging environment</strong></h3><p>You can imagine this environment like a test kitchen which allows the chefs to practice and perfect their recipes before the restaurant opens to the public.</p><p><strong>Staging environment</strong> allows developers to test and perfect their code before it is released to the end users in the production environment.</p><h3>Production environment</h3><p>The <strong>production environment</strong> is where users access the final code after all of the updates and testing.</p><p>Of all the environments, this one is the most important.</p><p>If our application is a dish, and we are a curious chef that is trying to make it flavorful, here’s the steps to cook our app’s flavor!</p><p><strong>Step 1:</strong> First things first! Prepare the kitchen — the prerequisites!</p><p><strong>Step 2:</strong> Setup flavors in Android</p><p><strong>Step 3:</strong> Setup flavors in iOS</p><p><strong>Step 4: </strong>Use files to store configs</p><p><strong>Step 5: </strong>Build the app with flavors</p><p><strong>Step 6: </strong>(Optional): Distribute different flavors with Firebase</p><p>&gt;&gt; See the next part for details! <em>(coming soon)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df0130f1ded9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deliver your Flutter app to tester with just one tap — Part 4: Automatically notify your testers…]]></title>
            <link>https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-4-automatically-notify-your-testers-216b52b5358f?source=rss-7fe3507b3c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/216b52b5358f</guid>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[firebase-app-distribution]]></category>
            <dc:creator><![CDATA[Ngọc Võ @ngocbietcode]]></dc:creator>
            <pubDate>Sun, 11 Feb 2024 01:01:42 GMT</pubDate>
            <atom:updated>2024-02-11T01:01:42.193Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCJ4Oo7mD-5xC1WmdQYi3w.png" /></figure><h3><em>Deliver your Flutter app to tester with just one tap — Part 4: Automatically notify your testers using Incoming WebHooks</em></h3><p>Part 3: <a href="https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-3-deliver-your-app-to-testers-using-92dbd95c242c">https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-3-deliver-your-app-to-testers-using-92dbd95c242c</a></p><blockquote>It’s been a while since my latest part on this topic 🥲 Finally back!</blockquote><p>In the previous part, we learnt how to utilize Firebase App Distribution and build functions to automatically distribute our application to testers.</p><p>The next step is to notify our tester about our new build. Normally, we will open the team’s messaging platform and text:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qp_rU0hZIY1VhRXFmt5enQ.png" /></figure><p>We tend to send messages like the one above, which include the link to our APK, IPA, and the release note, <strong>MANUALLY!</strong> But now, let me introduce you to a secret key to automate this step.</p><h3>Say Hi to Incoming WebHooks</h3><p>Incoming WebHooks are a simple way to post messages from external sources into messaging platform like Slack, Teams, Discord (in this article, I will use Slack as an example). Creating an incoming webhook gives you a unique URL to which you send a JSON payload with the message text and some options. You can use all the usual formatting and layout blocks with incoming webhooks to make the messages stand out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pxC8FWwDVABY6vqr" /></figure><p>Alright! Let’s follow me and we’ll setup an Incoming WebHooks for our QC team’s Slack channel!</p><p><strong>Step 1: </strong>Find Incoming WebHooks in App Directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/0*wph1MgzzQC-FcMCl" /></figure><p><strong>Step 2: </strong>Select a channel where your Incoming Webhook will post messages to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/0*nAqW-deb6l6R6Oqc" /></figure><p><strong>Step 3: </strong>Get your WebHook Url</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/0*0REB5VQxX8ms-Lkx" /></figure><p><strong>Step 4: </strong>All set! You can now post any message to this channel using the URL in step 3!</p><h3>Build a Slack service</h3><p>After finishing setting up the Incoming WebHooks to your preferred channel, it’s time to build a Slack service in our CLI tool to automatically notify our tester whenever there are new builds.</p><ol><li>Create a slack_notify.dart file and import the necessary packages</li></ol><pre>//Import the necessary package<br>import &#39;dart:convert&#39;;<br>import &#39;package:http/http.dart&#39; as http;<br><br>const _domain = &quot;YOUR_WEBHOOKS_URL_HERE&quot;;<br><br>class SlackNotifier{<br>  <br>}</pre><p>2. Implement a function named `_postMessage` with the input parameter being your message to post it to Slack using WebHooks. In this fucntion, you need to transform your message into a JSON payload and post it to your channel using http.</p><pre>//Import the necessary package<br>import &#39;dart:convert&#39;;<br>import &#39;package:http/http.dart&#39; as http;<br><br>const _domain = &quot;YOUR_WEBHOOKS_URL_HERE&quot;;<br><br>class SlackNotifier{<br>  static const Duration _defaultTimeout = Duration(seconds: 20);<br><br>  static Future _postMessage(Map&lt;String, dynamic&gt; message) async {<br>    var url = Uri.parse(_domain);<br>    try {<br>      await http.post(url, body: jsonEncode(message)).timeout(_defaultTimeout);<br>    } catch (e) {<br>      print(e);<br>    }<br>  }<br>}</pre><p>3. Implement a function named `notifySlack` that style your message and then send it using the `_postMessage`</p><pre>//Import the necessary package<br>import &#39;dart:convert&#39;;<br>import &#39;package:http/http.dart&#39; as http;<br><br>const _domain = &quot;YOUR_WEBHOOKS_URL_HERE&quot;;<br><br>class SlackNotifier{<br>  static const Duration _defaultTimeout = Duration(seconds: 20);<br><br>  static void notifySlack(){<br><br>    //Your cool message here<br>    Map&lt;String, dynamic&gt; message = {};<br><br>    _postMessage(message);<br>  }<br><br>  static Future _postMessage(Map&lt;String, dynamic&gt; message) async {<br>    var url = Uri.parse(_domain);<br>    try {<br>      await http.post(url, body: jsonEncode(message)).timeout(_defaultTimeout);<br>    } catch (e) {<br>      print(e);<br>    }<br>  }<br>}</pre><p>To make your message fancy with advance formatting, check here: <a href="https://api.slack.com/messaging/interactivity">https://api.slack.com/messaging/interactivity</a></p><p>For example:</p><pre> static void notifySlack(){<br><br>    //Your cool message here<br>    Map&lt;String, dynamic&gt; message = {<br>      &quot;blocks&quot;: [<br>        {<br>          &quot;type&quot;: &quot;section&quot;,<br>          &quot;block_id&quot;: &quot;section789&quot;,<br>          &quot;fields&quot;: [<br>            {<br>              &quot;type&quot;: &quot;mrkdwn&quot;,<br>              &quot;text&quot;: &quot;*A new version is ready for testing*\nVersion: 1.0.0&quot;<br>            }<br>          ]<br>        }<br>      ],<br>      &quot;attachments&quot;: [<br>        {<br>          &quot;blocks&quot;: [<br>            {<br>              &quot;type&quot;: &quot;section&quot;,<br>              &quot;text&quot;: {<br>                &quot;type&quot;: &quot;mrkdwn&quot;,<br>                &quot;text&quot;: &quot;*Available platforms:*&quot;<br>              }<br>            },<br>            {<br>              &quot;type&quot;: &quot;section&quot;,<br>              &quot;text&quot;: {<br>                &quot;type&quot;: &quot;mrkdwn&quot;,<br>                &quot;text&quot;: &quot;&lt;https://linkToApkOfAppDistribution.com|Android&gt;&quot;<br>              },<br>              &quot;accessory&quot;: {<br>                &quot;type&quot;: &quot;button&quot;,<br>                &quot;text&quot;: {<br>                  &quot;type&quot;: &quot;plain_text&quot;,<br>                  &quot;text&quot;: &quot;View&quot;,<br>                  &quot;emoji&quot;: true<br>                },<br>                &quot;value&quot;: &quot;view_alternate_1&quot;<br>              }<br>            },<br>            {<br>              &quot;type&quot;: &quot;section&quot;,<br>              &quot;text&quot;: {<br>                &quot;type&quot;: &quot;mrkdwn&quot;,<br>                &quot;text&quot;: &quot;&lt;https://linkToIpaOfAppDistribution.com|iOS&gt;&quot;<br>              },<br>              &quot;accessory&quot;: {<br>                &quot;type&quot;: &quot;button&quot;,<br>                &quot;text&quot;: {<br>                  &quot;type&quot;: &quot;plain_text&quot;,<br>                  &quot;text&quot;: &quot;View&quot;,<br>                  &quot;emoji&quot;: true<br>                },<br>                &quot;value&quot;: &quot;view_alternate_2&quot;<br>              }<br>            }<br>          ]<br>        }<br>      ]<br>    };<br><br>    _postMessage(message);<br>  }</pre><p>4. The final step is to remember to use `notifySlack` in your main()</p><pre>print(&#39;👨‍🔧 Notifying Slack...&#39;);<br>SlackNotifier.notifySlack();<br>print(&#39;📢 Notified Slack! 📢&#39;);</pre><p>If you have followed all the steps above and all my 3 previous parts, let see the magic now. Enter this in your Terminal:</p><pre>flutter pub run deploy:deploy --release-note &quot;release notes&quot;</pre><p>Check your Slack channel and you should see the result like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/0*FbjTRbBpeDGJJsTm" /></figure><p>With this approach, you can have a convenient way to automatically send your new builds to your QC team’s channel with both APK, IPA and release note included!</p><h3>Speed up your deploying process</h3><p>Let’s wrap it up!</p><ol><li>Adding a command line app to your current project</li><li>Start doing your task automatically</li></ol><p><strong>FROM:</strong></p><ul><li>Building .apk and .ipa files</li></ul><p><strong>TO:</strong></p><ul><li>Upload your app to Firebase App Distribution</li><li>Notify your testers in messaging platform (Slack, MS Teams,…)</li><li>And even more task with command line options …</li></ul><p>Thank you for reading! Feel free to put any comments below to discuss more on this topic!</p><p>Happy Coding 🤡 !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=216b52b5358f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deliver your Flutter app to tester with just one tap — Part 3: Deliver your app to testers using…]]></title>
            <link>https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-3-deliver-your-app-to-testers-using-92dbd95c242c?source=rss-7fe3507b3c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/92dbd95c242c</guid>
            <category><![CDATA[firebase-app-distribution]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Ngọc Võ @ngocbietcode]]></dc:creator>
            <pubDate>Thu, 14 Sep 2023 13:35:19 GMT</pubDate>
            <atom:updated>2023-09-14T13:35:19.597Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IupgaZr7OpLUL_WWcC0SWQ.png" /></figure><h3>Deliver your Flutter app to tester with just one tap — Part 3: D<strong>eliver your app to testers using Firebase App Distribution</strong></h3><p>Part 2: <a href="https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-2-build-your-application-ad81a948b453">https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-2-build-your-application-ad81a948b453</a></p><p>In the previous part, we learnt how to automatically build APK and IPA files for our project.</p><blockquote>Then comes the question: Where should we store our files?</blockquote><h3>Welcome to Firebase App Distribution</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*mXX3i3NHEREzNsTT" /></figure><p><strong>Firebase App Distribution</strong> provides:</p><ul><li>Cross-platform management for iOS and Android pre-release distributions.</li><li>Quick onboarding, no SDK installation, and instant app delivery.</li><li>Integration flexibility via console, CLI, fastlane, or Gradle.</li><li>Tester organization, status tracking, and in-app feedback features.</li></ul><blockquote>See more at: <a href="https://firebase.google.com/docs/app-distribution">https://firebase.google.com/docs/app-distribution</a></blockquote><h3>Add Firebase App Distribution to your project</h3><p>If you haven’t already, <strong>first</strong> <a href="https://firebase.google.com/docs/android/setup#console">add Firebase to your Android project</a>!</p><p>Follow these steps to upload your app’s files using the Firebase CLI:</p><ol><li>Install or update to the latest version of the <a href="https://firebase.google.com/docs/cli#install_the_firebase_cli">Firebase CLI</a>. Make sure to <a href="https://firebase.google.com/docs/cli#sign-in-test-cli">sign in</a> and test that you can access your projects.</li><li>In the <a href="https://console.firebase.google.com/project/_/appdistribution">App Distribution page</a> of the Firebase console, select the app you want to distribute, then click <strong>Get started</strong></li><li>Run the appdistribution:distribute command to upload your app and distribute it to testers</li></ol><pre>firebase appdistribution:distribute [fle_path] <br>    --app [firebas_app_id]<br>    --token [token]<br>    --release-notes [realease_note]<br>    --groups [tester_group]</pre><p>Use the following parameters to configure the distribution:</p><p>--app : [<strong>Required]</strong> Your app’s Firebase App ID. You can find the App ID in the Firebase console, on the <a href="https://console.firebase.google.com/project/_/settings/general/">General Settings page</a>.</p><p>Example:</p><pre>--app 1:1234567890:android:0a1b2c3d4e5f67890</pre><p>--token : A refresh token that’s printed when you authenticate your CI environment with the Firebase CLI (read <a href="https://firebase.google.com/docs/cli#cli-ci-systems">Use the CLI with CI systems </a>for more information).</p><p>Example:</p><pre>--token &quot;$FIREBASE_TOKEN&quot;</pre><p>--release-notes : Release notes for this build</p><p>Example:</p><pre>--release-notes &quot;Text of release notes here&quot;</pre><p>--groups : The tester groups you want to invite (refer to <a href="https://firebase.google.com/docs/app-distribution/manage-testers">Manage testers</a>). Groups are specified using group aliases, which you can look up in the Firebase console.</p><p>You can specify the groups as a comma-separated list:</p><pre>--groups &quot;android, ios&quot;</pre><h3>Transform distribution command to a function</h3><p>In your deploy.dart file, add a function named deploy(String token, List&lt;String&gt; testers, List&lt;String&gt; testerGroups, String path, String? releaseNotes) along with the parameters that include configurations and the path to the IPA/APK file.</p><p>To run this command, we need to define a list of required arguments by adding them to a list as shown below</p><pre>void deploy(String token, List&lt;String&gt; testers, List&lt;String&gt; testerGroups, String path, String? releaseNotes) {  final args = [<br>    &#39;appdistribution:distribute&#39;,<br>    path,<br>    &#39;--app&#39;,<br>    config.app,<br>    &#39;--token&#39;,<br>    token,<br>  ];<br>}</pre><p>For the optional arguments, we need to check whether they’re available or not before adding them to the argument list.</p><pre>void deploy(String token, List&lt;String&gt; testers, List&lt;String&gt; testerGroups, String path, String? releaseNotes) {<br>  final args = [<br>    &#39;appdistribution:distribute&#39;,<br>    path,<br>    &#39;--app&#39;,<br>    config.app,<br>    &#39;--token&#39;,<br>    token,<br>  ];<br><br>  //add release notes<br>  if (releaseNotes != null) {<br>    args.add(&#39;--release-notes&#39;);<br>    args.add(releaseNotes);<br>  }  <br><br>  // add testers<br>  if (testers.isNotEmpty) {<br>    args.add(&#39;--testers&#39;);<br>    args.add(config.testers.join(&#39;,&#39;));<br>  }<br><br>  // add group tester<br>  if (testerGroups.isNotEmpty) {<br>    args.add(&#39;--groups&#39;);<br>    args.add(config.testerGroups.join(&#39;,&#39;));<br>  }<br>}</pre><p>Same as what we did with build APK/IPA command, we can distribute our file to Firebase by using Process.runSync</p><pre>void deploy(String token, List&lt;String&gt; testers, List&lt;String&gt; testerGroups, String path, String? releaseNotes) {<br>  final args = [<br>    &#39;appdistribution:distribute&#39;,<br>    path,<br>    &#39;--app&#39;,<br>    config.app,<br>    &#39;--token&#39;,<br>    token,<br>  ];<br><br>  //add release notes<br>  if (releaseNotes != null) {<br>    args.add(&#39;--release-notes&#39;);<br>    args.add(releaseNotes);<br>  }  <br><br>  // add testers<br>  if (testers.isNotEmpty) {<br>    args.add(&#39;--testers&#39;);<br>    args.add(config.testers.join(&#39;,&#39;));<br>  }<br><br>  // add group tester<br>  if (testerGroups.isNotEmpty) {<br>    args.add(&#39;--groups&#39;);<br>    args.add(config.testerGroups.join(&#39;,&#39;));<br>  }<br>}</pre><p>If the exitCode is not equal to 0, it indicates that our process has failed, and the file could not be uploaded to Firebase App Distribution. In this case, we can throw an exception with a message that informs us about the file currently encountering this issue and the related configurations, allowing us to be notified of the situation. On the other hand, if the file is successfully distributed!</p><h3>Let’s use our work in main()</h3><p>After implementing our ‘deploy’ function to distribute our IPA and APK using Firebase App Distribution, let’s use it after we’ve used buildAPK() and buildIPA() in the previous part to distribute these two files to testers with just one command!</p><pre>void main(List&lt;String&gt; args) {<br><br>  print(&#39;🔄🔄🔄 Deploying... 🔄🔄🔄&#39;);<br><br>  // build IPA for iOS users<br>  print(&#39;⏳  Building IPA file...&#39;);<br>  final path = buildIPA(config.exportOption, env);<br>  print(&#39;IPA path: $path&#39;);<br>  // deploy ios<br>  print(&#39;⏳  Deploying IPA file to Firebase...&#39;);<br>    deploy(<br>      token,<br>      [],<br>      [&#39;ios&#39;]<br>      path,<br>      &#39;release-note&#39;,<br>    );<br>    print(&#39;👏 Deploy IPA successful! 👏&#39;);<br><br>  // build APK for android users<br>  print(&#39;⏳  Building APK file...&#39;);<br>  final path = buildAPK(env);<br>  print(&#39;APK path: $path&#39;);<br>  // deploy android<br>  print(&#39;⏳  Deploying APK file to Firebase...&#39;);<br>  deploy(<br>    token,<br>    [],<br>    [&#39;android&#39;]<br>    path,<br>    &#39;release-note&#39;,<br>  );<br>  print(&#39;👏 Deploy APK successful! 👏&#39;);<br><br>  print(&#39;✅ [DONE]: Successfully Deployed! ✅&#39;);<br>}</pre><p>You can run you deploy command and see the result that is printed to the console:</p><pre>flutter pub run deploy:deploy</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KBiC8Q5H0FxjK33f" /></figure><p><strong>Let’s check your Firebase app distribution page</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V00OjZrvrQNZg5jUiV9Uqg.png" /></figure><h3>Make your release notes easier to change</h3><p>If you want to quickly change the release note each time you deploy a new build by inputting it in the command, consider using the ‘args’ package to read the release notes from your input command option instead of hardcoding it.</p><pre>import &#39;package:args/args.dart&#39;;<br><br>void main(List&lt;String&gt; args) {<br><br>  print(&#39;🔄🔄🔄 Deploying... 🔄🔄🔄&#39;);<br><br><br>  //Add this<br><br>  final parser = ArgParser();<br><br>  // --release-note<br>  parser.addOption(<br>    &#39;release-note&#39;,<br>    abbr: &#39;n&#39;,<br>    help: &#39;Release notes&#39;,<br>  );<br><br>  final arguments = parser.parse(args);<br><br>  //End<br><br><br><br>  // build IPA for iOS users<br>  print(&#39;⏳  Building IPA file...&#39;);<br>  final path = buildIPA(config.exportOption, env);<br>  print(&#39;IPA path: $path&#39;);<br>  // deploy ios<br>  print(&#39;⏳  Deploying IPA file to Firebase...&#39;);<br>    deploy(<br>      token,<br>      [],<br>      [&#39;ios&#39;]<br>      path,<br>      arguments[&#39;release-note&#39;], //note this<br>    );<br>    print(&#39;👏 Deploy IPA successful! 👏&#39;);<br><br>  // build APK for android users<br>  print(&#39;⏳  Building APK file...&#39;);<br>  final path = buildAPK(env);<br>  print(&#39;APK path: $path&#39;);<br>  // deploy android<br>  print(&#39;⏳  Deploying APK file to Firebase...&#39;);<br>  deploy(<br>    token,<br>    [],<br>    [&#39;android&#39;]<br>    path,<br>    arguments[&#39;release-note&#39;], //note this<br>  );<br>  print(&#39;👏 Deploy APK successful! 👏&#39;);<br><br>  print(&#39;✅ [DONE]: Successfully Deployed! ✅&#39;);<br>}</pre><p>And now, you can execute your command in this way to input the release notes each time you deploy a build:</p><pre>flutter pub run deploy:deploy --release-note &quot;your release notes here&quot;</pre><h3>What’s next?</h3><p>Creating function to <strong>Automatically notify your testers using Incoming WebHooks </strong>in <strong>Part 4</strong>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92dbd95c242c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deliver your Flutter app to tester with just one tap — Part 2: Build your application]]></title>
            <link>https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-2-build-your-application-ad81a948b453?source=rss-7fe3507b3c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad81a948b453</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[cicd]]></category>
            <dc:creator><![CDATA[Ngọc Võ @ngocbietcode]]></dc:creator>
            <pubDate>Fri, 18 Aug 2023 13:29:20 GMT</pubDate>
            <atom:updated>2024-02-09T15:21:03.982Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deliver your Flutter app to tester with just one tap — Part 2: Build your application</h3><p>Part 1: <a href="https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-1-add-a-cli-app-to-your-project-1fd97bc37722">https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-1-add-a-cli-app-to-your-project-1fd97bc37722</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JUsT5iuPpioW8l2Y07mvlA.png" /></figure><p>Alright, in the previous part, we learned how to add a Dart CLI app to our project, and the next step is to build our application, of course!</p><h3>Build APK file</h3><p>There’re ways to build your APK file. You can build it using Android Studio or simply type this command to the Terminal and press enter:</p><pre>flutter build apk</pre><p>Let’s transform this command process into a function! In your deploy.dart file, add a function named buildAPK() that returns a String value, which is the path to your APK file.</p><pre>String buildAPK() {<br>   //We will execute the command to build .apk here<br>}</pre><p>Now is the time to utilize the Process class that we mentioned in part 1. The Process class offers a function called runSync(...). This function simply takes an executable and a list of arguments to initiate and run a process to completion. It operates synchronously, blocking until the child process terminates.</p><p>To execute the build APK command, we can ask Process to help us like this:</p><pre>Process.runSync(<br>    &#39;flutter&#39;,<br>    [&#39;build&#39;, &#39;apk&#39;],<br>  );</pre><p>If the exitCode is not equal to 0, it indicates that our process has failed and the APK could not be built. In this case, we can throw an exception to notify the situation. On the other hand, if the APK has been successfully built, we will return its path using the Directory class. We’ll retrieve the current path and append ‘/build/app/outputs/flutter-apk/app-release.apk’ to it. This is applicable since all APK files share the same name, ‘app-release.apk’</p><pre>String buildAPK() {<br>  final res = Process.runSync(<br>    &#39;flutter&#39;,<br>    [&#39;build&#39;, &#39;apk&#39;],<br>  );<br>  if (res.exitCode != 0) {<br>    throw &#39;build apk failed&#39;;<br>  }<br><br>  return &#39;${Directory.current.path}/build/app/outputs/flutter-apk/app-release.apk&#39;;<br>}</pre><h3>Build IPA file</h3><p>Let’s have a look at the command that we would use to build an IPA file:</p><pre>flutter build ipa --export-options-plist=${PATH_TO_PLIST_FILE}</pre><p>Let’s transform this command process into a function! In your deploy.dart file, add a function named buildIPA(String exportOption) that receive the path to exportOption.plist file as parameter and returns a String value, which is the path to your IPA file.</p><pre>String buildIPA(String exportOption) {<br>   //We will execute the command to build .ipa here<br>}</pre><p>Same as what we did with build APK command, we can build the IPA file like this:</p><pre>Process.runSync(<br>    &#39;flutter&#39;,<br>     [&#39;build&#39;, &#39;ipa&#39;, &#39;--flavor&#39;, &#39;$env&#39;, &#39;--export-options-plist=$exportOption&#39;],,<br>  );</pre><p>If the exitCode is not equal to 0, it indicates that our process has failed and the IPA could not be built. In this case, we can throw an exception to notify the situation. On the other hand, if the IPA has been successfully built, we will return its path using the Directory class. Since the file name will be our app name, rather than a fixed one like ‘app-release.apk’, we need to iterate through the files in the <strong>‘${Directory.current.path}/build/ios/ipa’</strong> directory and find the file with a path ending in <strong>‘.ipa’</strong>, then return it.</p><pre>String buildIPA(String exportOption) {<br>  final res = Process.runSync(<br>    &#39;flutter&#39;,<br>    [&#39;build&#39;, &#39;ipa&#39;, &#39;--export-options-plist=$exportOption&#39;],<br>  );<br><br>  if (res.exitCode != 0) {<br>    throw &#39;build ipa failed&#39;;<br>  }<br><br>  final dir = Directory(&#39;${Directory.current.path}/build/ios/ipa&#39;);<br>  final list = dir.listSync();<br>  for (final it in list) {<br>    if (it.path.toLowerCase().endsWith(&#39;.ipa&#39;)) {<br>      return it.path;<br>    }<br>  }<br><br>  throw &#39;IPA not found.&#39;;<br>}</pre><h3>Let’s use our work in main()</h3><p>After implementing our two functions to build APK and IPA files, it’s time to combine them within the main() function. This will allow us to build both the APK and IPA with just one tap!</p><pre>void main(List&lt;String&gt; args) {<br><br>  print(&#39;🔄🔄🔄 Deploying... 🔄🔄🔄&#39;);<br><br>  // build IPA for iOS users<br>  print(&#39;⏳  Building IPA file...&#39;);<br>  final path = buildIPA(config.exportOption, env);<br>  print(&#39;IPA path: $path&#39;);<br><br>  // build APK for android users<br>  print(&#39;⏳  Building APK file...&#39;);<br>  final path = buildAPK(env);<br>  print(&#39;APK path: $path&#39;);<br> <br><br>  print(&#39;✅ [DONE]: Successfully Deployed! ✅&#39;);<br>}</pre><h3>How to run?</h3><p>Okay, we have done quite some jobs! It’s time to see the magic!</p><p>Open your Terminal and type this command to run our ‘deploy’ CLI app:</p><pre>flutter pub run deploy:deploy</pre><p>And see the result that is printed to the console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*13mEZko6N_gO2qfp" /></figure><p><strong>Check the appropriate folder:</strong></p><ul><li>/Users/Projects/my_awesome_project/build/app/outputs/flutter-apk/app-release.apk</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/0*J6Gp-Q_QQImIia_b" /></figure><ul><li>/Users/Projects/my_awesome_project/build/ios/ipa/my_awesome_project.ipa</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/239/0*zstbgXDwbeE5JrM0" /></figure><h3>What’s next?</h3><p>Creating function to <strong>deliver your app to testers using Firebase App Distribution</strong> in <strong>Part 3</strong>!</p><p>Part 3: <a href="https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-3-deliver-your-app-to-testers-using-92dbd95c242c">https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-3-deliver-your-app-to-testers-using-92dbd95c242c</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad81a948b453" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deliver your Flutter app to tester with just one tap — Part 1: Add a CLI app to your project]]></title>
            <link>https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-1-add-a-cli-app-to-your-project-1fd97bc37722?source=rss-7fe3507b3c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fd97bc37722</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[firebase-app-distribution]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dartlang]]></category>
            <dc:creator><![CDATA[Ngọc Võ @ngocbietcode]]></dc:creator>
            <pubDate>Mon, 07 Aug 2023 08:50:06 GMT</pubDate>
            <atom:updated>2023-08-18T15:48:40.956Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deliver your Flutter app to tester with just one tap — Part 1: Add a CLI app to your project</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GKnP8OqM2a7-3jjS45uSGA.png" /></figure><h3>Before we start, let’s talk about How do you deliver your flutter app to testers?</h3><p>To deliver your app to testers, you must build your app first, of course! As Flutter is a wrapper for 2 platforms, which are android and iOS, you have to generate both .apk and .ipa file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*RNRi-6hQtyEpxTXlmH7OzQ.png" /></figure><p>What comes next? Let’s consider a way to inform your testers about new builds. The simplest approach is to share the new builds on your team’s messaging platform. For instance, you can provide the builds or download links in the testers’ channel and send them a message like, “Hey, please help me verify this build! Thanks a lot!”</p><p>Just like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7pQFajp7MiRs6VdshQkk2g.png" /></figure><p>And the whole progress is going to be like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DpMI4CoQkOzCJQNpI8TC6w.png" /></figure><h3>Too much <strong>waiting</strong> and <strong>manual</strong> task?</h3><p>However, this process involves a lot of waiting and manual tasks. To deliver your app to testers, you have to build the .apk file and wait for it to finish. Then, you build the .ipa file and wait again until it finishes. Finally, you manually notify the testers by sharing it in your work channel.</p><p>Wouldn’t it be great to find a way to automate this entire process with just one command?</p><h3><strong>Let’s start by adding a Dart CLI application to your project!</strong></h3><p><strong>What is Dart CLI application?</strong></p><blockquote>CLI stands for command line interface. In short, it is a program that allows users to type text commands instructing the computer to do specific tasks.</blockquote><blockquote>And Dart CLI application? Of course, it’s a CLI application that is written in Dart 💁‍♀️</blockquote><p><strong>Adding a command line app to your project</strong></p><p>Let’s say we have an awesome project like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IXiUN0bZCY2ZtUPY" /></figure><p>You can now add a CLI app named “deploy” to the project using your powerful Terminal:</p><pre>cd [YOUR_PROJECT_ABSOLUTE_PATH]<br>dart create deploy</pre><p>And the see the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KtaY-v7dMf2P3ytl" /><figcaption>The result after running the create command</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/0*8-b5eB0bby4MyKSM" /><figcaption>“deploy” is now existed in our project</figcaption></figure><p><strong>Adding deploy to my_awesome_project</strong></p><ol><li>Open project <em>pubspec.yaml</em></li><li>Add “<strong>deploy</strong>” to <em>dev_dependencies</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/0*NGI6MX8xdd3lIflh" /></figure><p><strong>Import dart:io</strong></p><p>Furthermore, remember to import the dart:io library. In your deploy.dart (main.dart) file, this library will enable you to work with files, directories, sockets, processes, HTTP servers and clients, and more:</p><pre>import &#39;dart:io&#39;;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/0*RZc99f6DvtcSvPcF" /></figure><p>Now you’ve done with adding the CLI app “deploy” to your project!</p><h3>What’s next?</h3><p>Creating function to build your application in Part 2!</p><p>Part 2: <a href="https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-2-build-your-application-ad81a948b453">https://medium.com/@ngocbietcode/deliver-your-flutter-app-to-tester-with-just-one-tap-part-2-build-your-application-ad81a948b453</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fd97bc37722" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flap the wings, starting my first story]]></title>
            <link>https://medium.com/@ngocbietcode/flap-the-wings-starting-my-first-story-c3190130a0af?source=rss-7fe3507b3c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3190130a0af</guid>
            <dc:creator><![CDATA[Ngọc Võ @ngocbietcode]]></dc:creator>
            <pubDate>Fri, 28 Jul 2023 11:42:32 GMT</pubDate>
            <atom:updated>2023-07-28T11:42:32.260Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi there!</p><p>Hmmm… Really don’t know what to say… actually, to write… But I think it’s time to overcome this fear! If there’s the first time, there’re going to be many times later. So, let’s begin my writing journey with a story!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*jBMxXWBSuJ3BDc1kxSxN8A.gif" /><figcaption>Dare to dive in writing!</figcaption></figure><h3><strong>Dare to Dive In Writing!</strong></h3><p>As a software engineer and a Women Techmakers Ambassador, I have embraced the opportunity to encourage and empower women, especially in Vietnam, who are starting their tech careers. It brings me immense joy to inspire them, providing guidance and support along their unique paths. I also realize that I love sharing knowledge and learning interesting things from others. Whether it involves simplifying ideas for peers, delivering talks at tech conferences, or interacting with enthusiastic audiences, the delight of empowering individuals and cultivating a passion for technology has become deeply ingrained in my work.</p><p>Despite my love for speaking, the world of writing has always felt like new territory. The blank page can be intimidating, and the fear of not knowing what to write has held me back. It’s easy to become overwhelmed by the pressure to create something not only helpful but also interesting right from the start.</p><p>Just like a bird must flap its wings to learn how to fly and take flight, I am determined to flap my wings and soar in the vast landscape of the writing world. This blog post marks the beginning of my writing journey, as I have realized that it’s time to conquer this fear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*fY_eW6j6OiMSE-7Iluzh6Q.jpeg" /><figcaption>Flap the wings!</figcaption></figure><h3>Flap the Wings!</h3><p>This journey isn’t just about me. It’s about building a community of like-minded individuals who share a passion for technology, knowledge sharing, and personal growth. Let’s flap our wings together and soar to new heights as we embrace the joy of writing and knowledge sharing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3190130a0af" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>