<?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 BTLA Tech Team on Medium]]></title>
        <description><![CDATA[Stories by BTLA Tech Team on Medium]]></description>
        <link>https://medium.com/@btla-tech?source=rss-9139caf2e516------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ilncfU119JCuk3s1FouVtQ.png</url>
            <title>Stories by BTLA Tech Team on Medium</title>
            <link>https://medium.com/@btla-tech?source=rss-9139caf2e516------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 19:13:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@btla-tech/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[Fluttering Forward: Transitioning Tech Stacks]]></title>
            <link>https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c?source=rss-9139caf2e516------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b8722207f5c</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[BTLA Tech Team]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 17:57:57 GMT</pubDate>
            <atom:updated>2024-04-12T02:26:59.853Z</atom:updated>
            <content:encoded><![CDATA[<p>Contributors: <a href="https://medium.com/u/21a3b4591895">Divyasourabh</a>, <a href="https://medium.com/u/dbea9a3b357a">Utkarsh Dixit</a>, <a href="https://medium.com/u/6b5b2a270ace">Rachit Goyal</a>, <a href="https://medium.com/u/bf0f20e55c03">Sahil Tuli</a>, <a href="https://medium.com/u/d773f411d912">umang kedia</a>, <a href="https://medium.com/u/bdd8a8ff0f8b">Shubh Gupta</a>, <a href="https://medium.com/u/8d3d912d665c">Jasshu Garg</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JgtlXqMJaVWeIiizjZNzEA.gif" /><figcaption>Single codebase running on web browser, mobile and tablet [Android, iOS]</figcaption></figure><p><em>This is the first blog of this series of blog posts highlighting our experiences with flutter and what’s next for mobile apps.</em></p><p>In the dynamic realm of edtech, we continues to lead the charge in delivering unparalleled learning experiences to students globally. With a steadfast commitment to innovation. We have undertaken a strategic shift to refine development processes, amplify scalability, and ensure seamless user experiences across all client side platforms.</p><p>Our journey is marked by visionary decision-making, rigorous planning, and an unwavering pursuit of excellence. Through meticulous analysis and a dedication to staying ahead of the curve, we embraced the multi-platform framework to elevate our front-end applications to new heights.</p><p><em>This is a story of transformation, adaptation, and unwavering dedication to delivering exceptional learning experiences to the students.</em></p><h3>Unveiling the Requirement of Multi-Platform Framework</h3><ol><li><strong><em>Design/experience disparity across platforms: </em></strong>Varied user experiences and designs across different platforms leading to inconsistency and potentially confusing user interactions.</li><li><strong><em>Feature disparity across platforms:</em></strong><em> </em>Inconsistencies in features across platforms causing fragmentation and inconsistency in functionality.</li><li><strong><em>Siloed teams (Android/iOS/Web/Desktop):</em></strong> Separate teams working on different platforms resulted in isolated development efforts and communication gaps.</li><li><strong><em>Release velocity tightly coupled to individual teams’ bandwidth:</em></strong> Slowdowns in one team’s development process directly impacted the GTM timeline, causing delays across all platforms.</li><li><strong><em>Client-specific backend services:</em></strong> Tailored backend services for each client increased complexity and hindered scalability.</li><li><strong><em>QA bandwidth stretched (unable to make progress on automation):</em></strong> Limited QA bandwidth hindered progress in implementing automated testing procedures, prolonging manual testing efforts.</li><li><strong><em>Lack of standardised code quality/hygiene metrics:</em></strong> Absence of uniform standards for code quality and hygiene led to inconsistencies and inefficiencies in the development process.</li><li><strong><em>Module Reusability:</em></strong> The limitations encountered while sharing modules with other vertical business lines, such as User Onboarding and Learn Journey, underscored the necessity for a solution that could seamlessly integrate across various components while offering flexibility and scalability.</li></ol><h3>Selecting the Best Framework: A Guide through Proof of Concept</h3><p>We explored cross-platform options including KMM, Flutter, and React Native, ultimately opting for React and Flutter for our POC, skip due to KMM’s newness.</p><p>Transitioning to a new framework demands careful planning. We began by choosing a feature that would act as a litmus test for our selected multi-platform framework. The ‘Short Content Video’ feature was our prime choice as it encompasses various crucial aspects of our mobile and web applications, including complex UI designs, seamless animations, video playback, data management, and integration of outside world SDKs. This feature serves as our trial run, allowing us to gauge the framework’s suitability for our needs.</p><h3>Metrics: Tracking the Essentials</h3><p>To make an informed decision regarding the framework, We meticulously tracked a plethora of metrics during the POC phase among Native, Flutter and React Native. Each metric was carefully selected to assess a crucial aspect of the application’s performance. Here’s a comprehensive list of the key metrics that were monitored and analyzed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*ccN9aIJeEUSnSxKBtskK6g.png" /><figcaption><a href="https://trends.google.com/trends/explore?cat=31&amp;date=today%205-y&amp;q=React%20Native,Flutter,NativeScript,%2Fm%2F0_lcrx4,%2Fg%2F11k07fcx11">Current development trends link</a></figcaption></figure><p>Upon thorough analysis, we identified several concerns associated with multi-platform frameworks in comparison to native development, particularly regarding app size, startup time, and initial memory footprint. Despite these challenges, we found that the benefits of adopting a multi-platform approach outweighed these drawbacks.</p><ol><li><strong>App Size:</strong> Utilizing Deferred Components and moved assets on s3 bucket, we managed to mitigate this concern and achieved ~30% reduction in app size compared to native counterparts. Here in this blog post we have described <a href="https://btla-tech.medium.com/strategies-for-reducing-flutter-app-size-96f4ffff58bb">all strategies and step-by-step guide for app size reduction.</a></li><li><strong>App Startup Time:</strong> While startup time for multi-platform frameworks may be slightly longer, we acknowledge that currently, there is no immediate solution to significantly improve this aspect. However, the advantages gained from multi-platform development outweigh this limitation.</li></ol><blockquote>In essence, despite encountering red flags, the advantages and efficiencies gained through multi-platform development far surpass these challenges, making it a favourable choice for our use case.</blockquote><h3>The Emergence of Flutter: A Data-Driven Decision</h3><p>After deep analysis, meticulous metric tracking, and multiple rounds of demos and discussions with all the stakeholders, Flutter emerged as the clear choice. Its exceptional performance, rapid development pace, seamless integration capabilities, and robust support for our essential requirements set it apart from other alternatives.</p><p><em>“Choosing Flutter wasn’t a gamble; it was a strategic move grounded in data-backed insights and thorough examination.”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7b5QYU1lbFDhKEC2" /></figure><h3>Shaping the Future: Preparing the Team for the Journey</h3><p>With the decision to adopt Flutter as our front-end tech stack, the next pivotal step was to ensure our team was fully prepared for this transformative endeavour. To achieve this, we meticulously crafted a comprehensive training program covering all aspects of Flutter development.</p><p>Maintaining business continuity during such a significant migration posed a formidable challenge. In response, we implemented a rotational learning strategy:</p><ol><li>Small groups of developers alternated between dedicated learning periods for Flutter and active engagement on ongoing projects.</li><li>This approach ensured that development and feature delivery continued uninterrupted.</li><li>It also maintained a steady momentum for the migration process, allowing the team to gradually integrate Flutter into their workflow seamlessly.</li></ol><p>Additionally, to expedite the migration process and ensure a smooth transition, we began creating new features as Flutter modules. These modules were integrated as <a href="https://docs.flutter.dev/add-to-app/android/add-flutter-view">Flutterview</a> within the native applications. However, as the migration progressed, we adopted the Flutter project structure. Despite this shift, certain features persisted in the native codebase. To overcome this, we leveraged deep linking and <a href="https://docs.flutter.dev/platform-integration/platform-channels">method channels</a>, which enables seamless navigation between Flutter and native components. This innovative approach ensured cohesive functionality across the application while facilitating a smooth migration journey.</p><p>By strategically prioritising modules expected to undergo frequent changes, we ensured seamless integration of updates across all frontend platforms. This approach to module migration effectively managed project complexity and minimised the risk of disrupting the user experience.</p><h3>Byju’s Frontend Apps: Embracing the Flutter Era</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ReD-qTG-TOrqs6XY0-6RFA.png" /></figure><p>Byju’s client side apps powered by Flutter deliver a consistent experience across platforms, ensuring accessibility for all users. With interactive features and personalised learning paths, the app maximizes student engagement and comprehension.</p><p>By leveraging Flutter, we witnessed ~40% reductions in both development time and ~50% save in qa bandwidth. Now we are developing features only once and released on 3 platforms, which ultimately improve the GTM timeline.</p><p>In the app development lifecycle, Quality Assurance is pivotal. We conduct sanity testing to ensure stability of new functionality and regression testing to verify existing features remain unaffected. To enhance efficiency, we integrated an automation framework for basic sanity testing within CI/CD pipeline.</p><p>To Learn More about this checkout our blog on how automation helped us in this journey: <a href="https://btla-tech.medium.com/efficiency-unleashed-the-power-of-automation-in-our-flutter-adventure-a99e8f6accd2"><strong>Efficiency Unleashed: The Power of Automation in Our Flutter Adventure</strong></a></p><p>We have released phase wise with A/B experiment, this allows us to analyse the impact and handle issues early without impacting a significant number of users’ experience. We utilised our in house <a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0"><strong>Neon: our server driven UI (SDUI)</strong></a> for A/B experiments and phase wise and metrics analysis. To learn More about this checkout our Blog on how we overcame multiple challenges throughout our journey: Beyond the hurdles: Addressing challenges in Android, iOS, and Web development</p><p>This is part of a series of blog posts highlighting our experiences with Flutter and discussing what’s next for client apps.</p><ol><li><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><strong>Fluttering Forward: Transitioning Tech Stacks</strong></a></li><li><a href="https://btla-tech.medium.com/behind-the-scenes-architecting-robust-flutter-apps-a5228d75b442"><strong>Behind the scenes: Architecting robust flutter apps</strong></a></li><li><a href="https://btla-tech.medium.com/beyond-the-hurdles-addressing-challenges-in-android-ios-and-web-development-0ee9d6730317"><strong>Beyond the hurdles: Addressing challenges in Android, iOS, and Web development</strong></a></li><li><a href="https://btla-tech.medium.com/efficiency-unleashed-the-power-of-automation-in-our-flutter-adventure-a99e8f6accd2"><strong>Efficiency Unleashed: The Power of Automation in Our Flutter Adventure</strong></a></li><li><a href="https://btla-tech.medium.com/strategies-for-reducing-flutter-app-size-96f4ffff58bb"><strong>Strategies to reduce flutter app size</strong></a></li><li><a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0"><strong>Neon — the server-driven UI (SDUI) tool powering Byju’s multi platform apps</strong></a></li><li>Flutter Community Contribution — TBU</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b8722207f5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Efficiency Unleashed: The Power of Automation in Our Flutter Adventure]]></title>
            <link>https://btla-tech.medium.com/efficiency-unleashed-the-power-of-automation-in-our-flutter-adventure-a99e8f6accd2?source=rss-9139caf2e516------2</link>
            <guid isPermaLink="false">https://medium.com/p/a99e8f6accd2</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[BTLA Tech Team]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 17:00:53 GMT</pubDate>
            <atom:updated>2024-04-04T18:01:47.988Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*oA6CkdwhO0n2a2oJy9O9cQ.png" /></figure><p><em>This is the fourth blog of </em><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><em>this series of blog posts</em></a><em> highlighting our experiences with flutter and what’s next for mobile apps.</em></p><p>In the app development lifecycle, Quality Assurance is pivotal. We conduct Sanity Testing to ensure stability of new functionality and Regression Testing to verify existing features remain unaffected. To enhance efficiency, we implemented an Automation framework for basic sanity testing, streamlining our QA process by having it as a part of the CI/CD pipeline.</p><p>The Automation framework was implemented using WDIO (WebdriverIO) with Appium in Node.js.</p><h4>WDIO and Appium</h4><p>WDIO (WebdriverIO) and Appium are leading frameworks in mobile and web automation, powered by Node.js. WDIO offers a versatile testing framework, facilitating cross-platform testing across browsers and mobile devices. Appium serves as a unified interface for automating iOS and Android applications, seamlessly integrating with WDIO to enable comprehensive testing of web and mobile applications.</p><p>This choice offered several advantages:</p><ul><li>Accelerated execution times compared to alternative frameworks like Pytest and TestNG.</li><li>Expedited development cycles in contrast to other frameworks like Pytest and TestNG.</li><li>Leveraging an inheritance architecture minimized the amount of code required for each page and ensured scalability for future enhancements.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ybeg1c-ZX5CVMHXS" /></figure><h3>Addressing Automation Challenges in Flutter</h3><p>Automating apps in Flutter poses challenges due to the absence of standardized locators for UI elements. To overcome this hurdle, we leveraged the Flutter Semantic class. By wrapping our UI elements with a Semantic widget, one could assign specific locators, enhancing automation capabilities.</p><pre>// Example of wrapping a UI element with a Semantic widget<br>Semantics(<br>  label: &#39;Button&#39;,<br>  child: ElevatedButton(<br>    onPressed: () {<br>      // Button functionality<br>    },<br>    child: Text(&#39;Submit&#39;),<br>  ),<br>)</pre><p>Using Semantic widgets, one can provide explicit labels for UI elements, facilitating robust automation testing. This approach ensured reliable element identification and improved the efficiency of the testing processes.</p><p>Using this Automation Framework we were able to cut down our QA efforts significantly and achieve faster release cycles for the application.</p><h3>Disabling Semantics for Release Applications</h3><p>One downside of the Semantics class is its performance overhead, especially in release applications. To mitigate this, we created a wrapper around the Semantics class called ByjusSemantics.</p><pre>class ByjusSemantics extends StatelessWidget {<br>  final String label;<br>  final bool container;<br>  final Widget child;<br>  final bool? isLogsEnabled;<br><br>  const ByjusSemantics({<br>    Key? key,<br>    required this.label,<br>    required this.container,<br>    required this.child,<br>    this.isLogsEnabled,<br>  }) : super(key: key);<br><br>  @override<br>  Widget build(BuildContext context) {<br>    if (isLogsEnabled ?? kDebugMode) {<br>      return Semantics(<br>        label: label,<br>        container: container,<br>        child: child,<br>      );<br>    } else {<br>      return child;<br>    }<br>  }<br>}</pre><p>With ByjusSemantics, one can conditionally enable or disable Semantics based on whether the app is running in debug mode or release mode.</p><p>Example Usage:</p><pre>ByjusSemantics(<br>  label: &#39;Button&#39;,<br>  container: true,<br>  child: ElevatedButton(<br>    onPressed: () {<br>      // Button functionality<br>    },<br>    child: Text(&#39;Submit&#39;),<br>  ),<br>)</pre><p><strong>In conclusion</strong>, our Automation framework built on WDIO and Appium played a pivotal role in our Flutter migration journey. By leveraging these powerful tools, we streamlined testing processes, ensuring the reliability and scalability of our Flutter applications across web and mobile platforms. With comprehensive automation in place, we were able to navigate complexities, overcome challenges, and ultimately achieve success in our migration efforts all while reducing QA efforts significantly.</p><p>This is part of a series of blog posts highlighting our experiences with Flutter and discussing what’s next for client apps.</p><ol><li><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><strong>Fluttering Forward: Transitioning Tech Stacks</strong></a></li><li><a href="https://btla-tech.medium.com/behind-the-scenes-architecting-robust-flutter-apps-a5228d75b442"><strong>Behind the scenes: Architecting robust flutter apps</strong></a></li><li><a href="https://btla-tech.medium.com/beyond-the-hurdles-addressing-challenges-in-android-ios-and-web-development-0ee9d6730317"><strong>Beyond the hurdles: Addressing challenges in Android, iOS, and Web development</strong></a></li><li><a href="https://btla-tech.medium.com/efficiency-unleashed-the-power-of-automation-in-our-flutter-adventure-a99e8f6accd2"><strong>Efficiency Unleashed: The Power of Automation in Our Flutter Adventure</strong></a></li><li><a href="https://btla-tech.medium.com/strategies-for-reducing-flutter-app-size-96f4ffff58bb"><strong>Strategies to reduce flutter app size</strong></a></li><li><a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0"><strong>Neon — the server-driven UI (SDUI) tool powering Byju’s multi platform apps</strong></a></li><li>Flutter Community Contribution — TBU</li></ol><h4>Contributors:</h4><p><a href="https://medium.com/u/21a3b4591895">Divyasourabh</a>, <a href="https://medium.com/u/dbea9a3b357a">Utkarsh Dixit</a>, <a href="https://medium.com/u/6b5b2a270ace">Rachit Goyal</a>, <a href="https://medium.com/u/bdd8a8ff0f8b">Shubh Gupta</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a99e8f6accd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reducing Flutter App size]]></title>
            <link>https://btla-tech.medium.com/strategies-for-reducing-flutter-app-size-96f4ffff58bb?source=rss-9139caf2e516------2</link>
            <guid isPermaLink="false">https://medium.com/p/96f4ffff58bb</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[BTLA Tech Team]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 16:57:47 GMT</pubDate>
            <atom:updated>2024-04-18T07:08:47.900Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TaTokQgfEAq0Z3WkHj6N_A.png" /></figure><h4>Contributors:</h4><p><a href="https://medium.com/u/21a3b4591895">Divyasourabh</a>, <a href="https://medium.com/u/dbea9a3b357a">Utkarsh Dixit</a>, <a href="https://medium.com/u/6b5b2a270ace">Rachit Goyal</a></p><p><em>This is the fifth blog of </em><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><em>this series of blog posts</em></a><em> highlighting our experiences with flutter and what’s next for mobile apps.</em></p><p>App size reduction holds paramount importance, particularly in the realm of cross-platform app development. In our pursuit of optimizing the size of our applications, we have utilized these below methods:</p><h3>Method 1: Asset Resolver</h3><p>In our codebase, we extensively leverage dynamic assets including webp, png, jpeg, gif, JSON content, .otf fonts, and more. This approach is driven by our goal to deliver personalised content tailored to each user cohort. Traditionally, embedding these assets directly into the codebase significantly inflates the download size of our application, as each asset contributes to the overall package size. To address this challenge, we devised a strategic solution we named as Asset Resolver.</p><p>The Asset Resolver strategy involves leveraging the capabilities of AWS S3 Bucket to store our assets on Amazon servers. Rather than embedding assets directly into the codebase, we store them remotely in the cloud. At runtime, when the application requires access to these assets, it dynamically retrieves them from the server. This approach effectively optimizes the size of our assets, as they are fetched on-demand during runtime instead of being bundled with the initial download package.</p><p>By adopting the Asset Resolver strategy with AWS S3 Bucket integration, we achieve several key benefits.</p><ul><li>Firstly, this strategic approach significantly reduces the initial download size of the application, as only essential code and minimal resources are included in the package.</li><li>Secondly, efficient asset management is ensured, as assets can be updated and modified on the server without requiring app updates or redistributions.</li><li>Additionally, this approach enhances overall scalability and flexibility, allowing for efficient management of dynamic assets across various platforms and application versions.</li></ul><p>Overall, the Asset Resolver strategy enables us to<strong> use cohort wise assets </strong>optimize the size of our application while maintaining seamless access to dynamic assets, ultimately enhancing user experience and minimizing resource overhead.</p><h3>Method 2: Code Optimisation</h3><ul><li><strong>Minification and Obfuscation: </strong>Leverage Flutter’s built-in support for code minification and obfuscation to reduce the size of your app’s executable.</li><li><strong>Tree Shaking:</strong> Utilize only the necessary packages and libraries in your app by removing any unused dependencies. This can significantly reduce the final app size.</li></ul><h3>Method 3: Dependency Management</h3><ul><li><strong>Choose Lightweight Dependencies:</strong> When selecting third-party packages, opt for those that are well-maintained, actively developed, and have a minimal impact on your app’s size.</li><li><strong>Avoid Unnecessary Imports: </strong>Import only the specific parts of libraries that you need rather than importing the entire library to minimize unnecessary code inclusion.</li></ul><h3>Method 4: Optimize Fonts</h3><ul><li><strong>Use System Fonts:</strong> Whenever possible, utilize system fonts instead of custom fonts to reduce the size of your app. System fonts are already installed on users’ devices, eliminating the need to bundle them with your app.</li><li><strong>Subset Custom Fonts: </strong>If custom fonts are required, consider subsetting them to include only the characters needed by the app. This reduces the font file size while still preserving the necessary glyphs.</li></ul><h3>Method 5: Deferred components</h3><p>Deferred components in Flutter refer to a technique where certain parts of the user interface (UI) or application logic are loaded lazily, only when they are needed. This approach can greatly enhance the performance, download size and efficiency of Flutter applications, particularly for large or complex projects.</p><p>Here are some key points about deferred components and their uses:</p><ul><li><strong>Reduced App Download Size: </strong>Deferred components contribute to reducing the initial download size of Flutter applications. By loading components dynamically, the initial package size of the app can be smaller, as less code and resources are bundled upfront. This is particularly advantageous for users with limited storage space or those on slower network connections, as it ensures quicker installation and reduces the barrier to entry for trying out the application.</li><li><strong>Modularisation and Code Splitting:</strong> Deferred components promote modularisation and code splitting, enabling developers to organize their codebase more effectively. This can lead to better maintainability, scalability, and collaboration among team members working on different parts of the application.</li><li><strong>Progressive Loading</strong>: Deferred components can be loaded progressively, allowing the application to display meaningful content to users while additional resources are loaded in the background. This helps to maintain user engagement and satisfaction, even during loading periods.</li></ul><p>By strategically implementing deferred loading techniques, developers can create more efficient and responsive apps.</p><p>In Flutter, we can defer both a module and a Dart file, enabling efficient loading of components based on runtime conditions or user interactions.</p><h4>Steps to Create Deferred Components in Flutter</h4><h4>Step 1</h4><p>Add the Play core library to the android<strong>/app/build.gradle</strong> file of the root project.</p><pre>dependencies {<br>implementation &quot;com.google.android.play:core:1.8.0&quot;<br>}</pre><h4>Step 2</h4><p>Enable SplitCompat in your Flutter app by adding the following line to the application element in <strong>android/app/src/main/AndroidManifest.xml.</strong></p><pre>android:name=&quot;io.flutter.embedding.android.FlutterPlayStoreSplitApplication&quot;</pre><h4>Step 3</h4><p>Enable deferred components in your Flutter app by adding the following to the pubspec.yaml file located at the root of your project.</p><p><em># The following section is specific to Flutter packages.</em></p><pre>flutter:<br>deferred-components:</pre><h4>Step 4</h4><p>Create a Deferred Component, which can be either a simple Flutter widget or an entire module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*uUjauUJCSIay3H_G" /></figure><p>Entry point of Deferred Module:</p><pre>import &#39;package:demo_module/hello_screen.dart&#39;;<br>import &#39;package:flutter/material.dart&#39;;<br><br><br>class DemoModuleHome extends StatefulWidget {<br> const DemoModuleHome({super.key});<br><br><br> @override<br> State&lt;DemoModuleHome&gt; createState() =&gt; _DemoModuleHomeState();<br>}<br><br><br>class _DemoModuleHomeState extends State&lt;DemoModuleHome&gt; {<br> @override<br> Widget build(BuildContext context) {<br>   return HelloScreen();<br> }<br>}</pre><pre>import &#39;package:demo_module/screen_1.dart&#39;;<br>import &#39;package:demo_module/screen_2.dart&#39;;<br>import &#39;package:flutter/material.dart&#39;;<br><br><br>class HelloScreen extends StatelessWidget {<br> @override<br> Widget build(BuildContext context) {<br>   return Scaffold(<br>     appBar: AppBar(<br>       title: Text(&#39;Hello Screen&#39;),<br>     ),<br>     body: Center(<br>       child: Column(<br>         mainAxisAlignment: MainAxisAlignment.center,<br>         children: [<br>           Text(<br>             &#39;Hello&#39;,<br>             style: TextStyle(fontSize: 24),<br>           ),<br>           SizedBox(height: 20),<br>           ElevatedButton(<br>             onPressed: () {<br>               Navigator.push(<br>                 context,<br>                 MaterialPageRoute(builder: (context) =&gt; ScreenOne()),<br>               );<br>             },<br>             child: Text(&#39;Open Screen One&#39;),<br>           ),<br>           SizedBox(height: 10),<br>           ElevatedButton(<br>             onPressed: () {<br>               Navigator.push(<br>                 context,<br>                 MaterialPageRoute(builder: (context) =&gt; ScreenTwo()),<br>               );<br>             },<br>             child: Text(&#39;Open Screen Two&#39;),<br>           ),<br>         ],<br>       ),<br>     ),<br>   );<br> }<br>}</pre><pre>import &#39;package:flutter/material.dart&#39;;<br><br>class ScreenOne extends StatelessWidget {<br> @override<br> Widget build(BuildContext context) {<br>   return Scaffold(<br>     appBar: AppBar(<br>       title: Text(&#39;Screen One&#39;),<br>     ),<br>     body: Center(<br>       child: Text(<br>         &#39;This is Screen One&#39;,<br>         style: TextStyle(fontSize: 24),<br>       ),<br>     ),<br>   );<br> }<br>}</pre><pre>import &#39;package:flutter/material.dart&#39;;<br><br>class ScreenTwo extends StatelessWidget {<br> @override<br> Widget build(BuildContext context) {<br>   return Scaffold(<br>     appBar: AppBar(<br>       title: Text(&#39;Screen Two&#39;),<br>     ),<br>     body: Center(<br>       child: Text(<br>         &#39;This is Screen Two&#39;,<br>         style: TextStyle(fontSize: 24),<br>       ),<br>     ),<br>   );<br> }<br>}</pre><h4>Step 5</h4><p>Using a Deferred Component.</p><p>To use the deferred component in your app, you can use a FutureBuilder to load the component asynchronously and display a loading indicator while the component is being loaded.</p><pre>import &#39;package:flutter/material.dart&#39;;<br>import &#39;package:demo_module/main.dart&#39; deferred as deferredBox;<br>class HomeWidget extends StatefulWidget {<br> const HomeWidget({super.key});<br><br><br> @override<br> State&lt;HomeWidget&gt; createState() =&gt; _HomeWidgetState();<br>}<br><br><br>class _HomeWidgetState extends State&lt;HomeWidget&gt; {<br> late Future&lt;void&gt; _libraryFuture;<br><br><br> @override<br> void initState() {<br>   // TODO: implement initState<br>   super.initState();<br>   _libraryFuture = deferredBox.loadLibrary();<br> }<br> @override<br> Widget build(BuildContext context) {<br>   return FutureBuilder&lt;void&gt;(<br>     future: _libraryFuture,<br>     builder: (context, snapshot) {<br>       if (snapshot.connectionState == ConnectionState.done) {<br>         if (snapshot.hasError) {<br>           return Text(&#39;Error: ${snapshot.error}&#39;);<br>         }<br>         return deferredBox.DemoModuleHome();<br>       }<br>       return const CircularProgressIndicator();<br>     },<br>   );<br> }<br>}</pre><h4>Step 6</h4><p>To build your app with deferred components, run the following command.</p><pre> flutter build appbundle</pre><h4>Step 7</h4><p>On the first run, the Flutter validator may fail with issues that need to be addressed. The tool will provide recommendations for how to set up the project and fix these issues. It will also generate files that need to be manually moved or overridden in the android directory. Follow the tool’s recommendations and move or override the generated files as needed to properly set up the project.</p><p><strong>&lt;projectDirectory&gt;/deferred_components_loading_units.yaml</strong></p><p>You will need to copy the loading units from this file and paste them into the pubspec.yaml file, as well as mention the component in the settings.gradle file located in the android directory.</p><pre>flutter:<br> deferred-components:<br>   - name: sampleComponent<br>     libraries:<br>       - package:deferred_component_poc/demo_module/</pre><pre>include &#39;:app&#39;, &#39;:sampleComponent&#39;</pre><p>In the same way, update each file in the android folder.</p><pre>strings.xml <br>            loc: &lt;projectDir&gt;/android/app/src/main/res/values/strings.xml<br><br>android_deferred_components_setup_files<br>loc: &lt;projectDir&gt;/android/&lt;componentName&gt;<br><br>AndroidManifest.xml<br>loc: &lt;projectDir&gt;/android/app/src/main/AndroidManifest.xml</pre><h4>Step 8</h4><p>Re-run the Command</p><pre>flutter build appbundle</pre><p>After executing the build appbundle command, review the terminal output for the presence of the message “Deferred components prebuild validation passed”. This confirmation signifies that the prebuilt components included in the .aab file have undergone successful validation and are primed for utilization.</p><p>If the aforementioned message does not appear, it could indicate an issue with the prebuilt components. In such instances, you might need to rebuild either the app or the prebuilt components to rectify the problem. Upon resolving the issue, rerun the build appbundle command to produce a fresh .aab file containing properly validated prebuilt components.</p><h4>Step 9</h4><p>Running the Application</p><pre>flutter run</pre><h3>Impact on app size with Deferred Component</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LRf5-YgsaCnt9wyM" /></figure><p>In our comparative analysis, we embarked on creating two distinct projects to explore the impact of deferred components within Flutter applications. Each project was equipped with assets totalling ~4 MB in size. Upon thorough examination, we observed a notable difference in download sizes between the project incorporating deferred components and the one without such optimisation.</p><p>The project integrated with deferred components exhibited a download size approximately 5.3 MB smaller than its counterpart lacking this feature.</p><p>This significant reduction in download size underscores the effectiveness of employing deferred components in mitigating the overall footprint of Flutter applications, thus enhancing user accessibility and improving the user experience, particularly for users with limited bandwidth or storage constraints.</p><h3>Continuing Our Quest: Advancing Performance through Deferred Components in Flutter</h3><p>In conclusion, while we have made significant strides in optimising asset management with the Asset Resolver strategy, our commitment to enhancing performance and minimising app size remains steadfast. We continue our efforts to explore and implement additional strategies for reducing and optimising app metrics.</p><p><em>This blog is a work in progress, and we plan to incorporate more insights and updates in the future.</em></p><h4><a href="https://medium.com/@divyasourabh/android-dynamic-feature-module-cf8392489c7e">Reference Link</a></h4><p>This is part of a series of blog posts highlighting our experiences with Flutter and discussing what’s next for client apps.</p><ol><li><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><strong>Fluttering Forward: Transitioning Tech Stacks</strong></a></li><li><a href="https://btla-tech.medium.com/behind-the-scenes-architecting-robust-flutter-apps-a5228d75b442"><strong>Behind the scenes: Architecting robust flutter apps</strong></a></li><li><a href="https://btla-tech.medium.com/beyond-the-hurdles-addressing-challenges-in-android-ios-and-web-development-0ee9d6730317"><strong>Beyond the hurdles: Addressing challenges in Android, iOS, and Web development</strong></a></li><li><a href="https://btla-tech.medium.com/efficiency-unleashed-the-power-of-automation-in-our-flutter-adventure-a99e8f6accd2"><strong>Efficiency Unleashed: The Power of Automation in Our Flutter Adventure</strong></a></li><li><a href="https://btla-tech.medium.com/strategies-for-reducing-flutter-app-size-96f4ffff58bb"><strong>Strategies to reduce flutter app size</strong></a></li><li><a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0"><strong>Neon — the server-driven UI (SDUI) tool powering Byju’s multi platform apps</strong></a></li><li>Flutter Community Contribution — TBU</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96f4ffff58bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the hurdles: Addressing challenges in Android, iOS, and Web development]]></title>
            <link>https://btla-tech.medium.com/beyond-the-hurdles-addressing-challenges-in-android-ios-and-web-development-0ee9d6730317?source=rss-9139caf2e516------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ee9d6730317</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[BTLA Tech Team]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 16:55:59 GMT</pubDate>
            <atom:updated>2024-04-04T18:02:33.186Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s1vlABpV1TvXHJM_-jlYDQ.png" /></figure><p><em>This is the third blog of </em><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><em>this series of blog posts </em></a><em>highlighting our experiences with flutter and what’s next for mobile apps.</em></p><p><strong>Overcoming Incremental Feature Rollouts with </strong><a href="https://docs.flutter.dev/add-to-app/android/add-flutter-view"><strong>Flutter Views</strong></a><strong> and Flutter Engine group:</strong></p><p>During the initial phases of migration, we faced the daunting task of integrating Flutter features into our existing native apps without disrupting our release timelines. To tackle this, we adopted <a href="https://docs.flutter.dev/add-to-app/android/add-flutter-view">Flutter Views</a>, allowing us to gradually migrate features while ensuring compatibility with our native codebase. This approach enabled us to maintain a steady release cadence while progressively introducing Flutter components into the app.</p><p>But this posed its own set of challenges:</p><ul><li>Limited Flexibility: Flutter Views offer limited flexibility in terms of customization and UI interactions.</li><li>Performance Overhead: Integrating Flutter Views within native apps may introduce performance overhead, especially during navigation and layout rendering.</li><li>Tighter Coupling: Flutter Views tightly coupled Flutter components with native code, making it challenging to maintain and update.</li></ul><p>So once a significant user flow of the app was migrated to Flutter, we moved to Flutter Engines.</p><p>AAR (Android Archive) and Pod methods are popular approaches for integrating Flutter code into native Android and iOS apps, respectively. AAR involves packaging Flutter code as an Android library for seamless inclusion in Android projects, while Pod method enables incorporating Flutter modules as CocoaPods in iOS projects, ensuring smooth integration and interoperability with native codebases.</p><p>As we transitioned to utilising Flutter Engine, we encountered significant delays during the initialisation process, impacting app performance. To address this challenge, we optimised engine initialisation by running it in the background of preceding screens. This allowed us to maintain a smooth user experience while ensuring the seamless integration of Flutter components within our native app.</p><h3>Overcoming App Size: Major Multi platform Hurdle</h3><p>App size reduction holds paramount importance, particularly in the realm of cross-platform app development. In our pursuit of optimising the size of our applications, we identified two key strategies:</p><h4>Asset Resolver</h4><p>The Asset Resolver strategy involves leveraging the capabilities of AWS S3 Bucket to store our assets on AWS servers. Rather than bundling assets directly with the application, we store them remotely in the cloud. At runtime, we dynamically retrieve these assets from the cloud whenever the application requires access to them. This approach effectively optimizes the size of the application assets, as they are fetched on-demand during runtime instead of being bundled with the initial download package.</p><h4>Deferred Components</h4><p>In our comparative analysis, we embarked on creating two distinct projects to explore the impact of deferred components within Flutter applications. Each project was equipped with assets totalling ~4 MB in size. Upon thorough examination, we observed a notable difference in download sizes between the project incorporating deferred components and the one without such optimisation.</p><p>The project integrated with deferred components exhibited a download size approximately 5.3 MB smaller than its counterpart lacking this feature.</p><p>This significant reduction in download size underscores the effectiveness of employing deferred components in mitigating the overall footprint of Flutter applications, thus enhancing user accessibility and improving the user experience, particularly for users with limited bandwidth or storage constraints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HGXOH5B7b5Mpwxhw" /></figure><p>To learn more about our journey of using these techniques to combat App Size issues checkout our detailed blog on <a href="https://docs.google.com/document/d/1Jo89I3KvMM273KCvb9unb03dRN_OdK0LUBgoNDImwgo/edit#heading=h.ql1zzotj3klh">Strategies for Streamlining Cross-Platform App Size</a></p><h3>Controlled Rollouts and Feature Migrations</h3><p>Implementing controlled rollouts and feature migrations is a best practice to manage user exposure to significant changes in an application.</p><p>This allows us to analyze the impact and handle issues early without impacting a significant number of users’ experience.</p><h4>SDUI:</h4><p>Leveraging <a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0">Neon: our Server Driven UI (SDUI)</a>, we implemented a controlled rollout strategy based on cohort-level layouts. This enabled us to selectively expose a predetermined percentage of users to our Flutter experience while maintaining flexibility in adjusting rollout percentages. By harnessing the power of SDUI, we could efficiently manage and control the deployment of Flutter features, ensuring a seamless transition for our users.</p><h4>AB Experiment:</h4><p>We began with AB Experiment-based rollouts, allowing us to selectively expose users to newly migrated features. AB experiments involved exposing a fraction of users to the Flutter experience of specific features, enabling controlled testing and feedback collection.This approach enabled data-driven decision-making and iterative improvements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iJQqXa_y83ingPg9" /></figure><h4>Phase Wise Rollout:</h4><p>However, as we progressed with migrating a substantial portion of the app, using AB experiments became impractical. Incorporating both old Native and new Flutter code in app bundles would inflate the app size and potentially impact business metrics. To address this challenge, we transitioned to Phase-wise rollouts.</p><p>Phase-wise rollouts involve gradually releasing updates or changes to the entire user base over multiple phases. This method allows for controlled testing and monitoring of the impact on app performance and user experience.</p><p>Both Google Play Store and Apple App Store provide mechanisms for phase-wise rollouts. Google Play allows developers to roll out updates to a percentage of users initially, gradually increasing the rollout percentage. Similarly, Apple’s TestFlight platform enables phased distribution of beta builds to testers before releasing them to the public via the App Store</p><h3>Integrating Authentication SDKs into Flutter</h3><p>One of our significant challenges was integrating our in-house Authentication SDKs, written in platform-specific frameworks (Kotlin for Android, Swift for iOS, and JavaScript for Web), into our Flutter codebase. Migrating these SDKs posed complexities due to third-party dependencies and platform-specific requirements. To bridge this gap, we opted to integrate the native SDKs into our Flutter codebase using Flutter plugins.</p><h4>What is a Flutter Plugin?</h4><p>A Flutter plugin is a package containing code written in platform-specific languages that enables communication between Flutter and native code. It allows developers to access platform-specific features and functionalities seamlessly within Flutter applications.</p><h4>Creating a Flutter Plugin Module:</h4><p>To create a Flutter plugin module, follow these steps:</p><ol><li>Create a new Flutter plugin project using the below command</li></ol><pre>flutter create - template=plugin</pre><ol><li>Add platform-specific code in the respective platform folders (android, iOS, web).</li><li>Define method channels to communicate between Flutter and native code.</li><li>Implement platform-specific functionalities in native code.</li><li>Invoke native functionalities from Flutter using method channels.</li></ol><pre>// Flutter Plugin Module: auth_plugin.dart<br>import &#39;package:flutter/services.dart&#39;;<br><br>class AuthPlugin {<br>  static const MethodChannel _channel = MethodChannel(&#39;auth_plugin&#39;);<br><br>  static Future&lt;bool&gt; authenticate() async {<br>    try {<br>      final bool isAuthenticated = await _channel.invokeMethod(&#39;authenticate&#39;);<br>      return isAuthenticated;<br>    } on PlatformException catch (e) {<br>      print(&quot;Failed to authenticate: ${e.message}&quot;);<br>      return false;<br>    }<br>  }<br>}</pre><h4>Benefits of Using Flutter Plugins:</h4><ul><li><strong>Seamless Integration</strong>: Enables seamless integration of platform-specific functionalities into Flutter applications.</li><li><strong>Code Reusability:</strong> Maximizes code reusability by leveraging existing native codebases.</li><li><strong>Access to Native Features:</strong> Provides access to platform-specific features and functionalities not available in Flutter.</li><li><strong>Cross-Platform Compatibility: </strong>Ensures cross-platform compatibility by facilitating communication between Flutter and native codebases.</li></ul><p>By leveraging Flutter plugins, we successfully integrated Authentication SDKs into our Flutter codebase, overcoming challenges associated with third-party dependencies and platform-specific requirements.</p><h3>Addressing Compatibility Issues with Flutter on x86 Architecture:</h3><p>Compatibility issues with Flutter on x86 architecture presented a significant hurdle in our migration journey. Despite the challenges, we proceeded with migration after thorough assessment from product and business teams. Our decision to prioritize other platforms over x86 architecture was based on its rarity among our user base. This strategic approach ensured forward progress in our migration efforts while actively monitoring and addressing compatibility issues as needed.</p><h3>Persistence Solutions for Web</h3><p>One challenge we encountered was the lack of robust local persistence solutions for web platforms compared to Isar Db for managing user-level data locally. Fortunately, our architecture enabled us to create separate repositories leveraging Web Local Storage for the web platform.</p><ul><li>Web Local Storage provides a simple key-value storage mechanism available in web browsers.</li><li>Web Local Storage is synchronous and can only store string-based data, making it suitable for storing user preferences, settings, and other small data sets.</li><li>Despite its limitations, Web Local Storage serves as a convenient solution for web-based applications requiring client-side data storage.</li></ul><p>Integrating this solution into our codebase was seamless, thanks to the Dependency Injection (DI) approach we employed throughout our architecture. To learn more about our architecture checkout our blog on <a href="https://btla-tech.medium.com/behind-the-scenes-architecting-robust-flutter-apps-a5228d75b442">Behind the scenes: Architecting robust flutter apps</a></p><p>This is part of a series of blog posts highlighting our experiences with Flutter and discussing what’s next for client apps.</p><ol><li><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><strong>Fluttering Forward: Transitioning Tech Stacks in Byju’s</strong></a></li><li><a href="https://btla-tech.medium.com/behind-the-scenes-architecting-robust-flutter-apps-a5228d75b442"><strong>Behind the scenes: Architecting robust flutter apps</strong></a></li><li><a href="https://btla-tech.medium.com/beyond-the-hurdles-addressing-challenges-in-android-ios-and-web-development-0ee9d6730317"><strong>Beyond the hurdles: Addressing challenges in Android, iOS, and Web development</strong></a></li><li><a href="https://btla-tech.medium.com/efficiency-unleashed-the-power-of-automation-in-our-flutter-adventure-a99e8f6accd2"><strong>Efficiency Unleashed: The Power of Automation in Our Flutter Adventure</strong></a></li><li><a href="https://btla-tech.medium.com/strategies-for-reducing-flutter-app-size-96f4ffff58bb"><strong>Strategies to reduce flutter app size</strong></a></li><li><a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0"><strong>Neon — the server-driven UI (SDUI) tool powering Byju’s multi platform apps</strong></a></li><li>Flutter Community Contribution — TBU</li></ol><h4>Contributors:</h4><p><a href="https://medium.com/u/21a3b4591895">Divyasourabh</a>, <a href="https://medium.com/u/dbea9a3b357a">Utkarsh Dixit</a>, <a href="https://medium.com/u/6b5b2a270ace">Rachit Goyal</a>, <a href="https://medium.com/u/bf0f20e55c03">Sahil Tuli</a>, <a href="https://medium.com/u/d773f411d912">umang kedia</a>, <a href="https://medium.com/u/bdd8a8ff0f8b">Shubh Gupta</a>, <a href="https://medium.com/u/8d3d912d665c">Jasshu Garg</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ee9d6730317" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Behind the scenes: Architecting robust flutter apps]]></title>
            <link>https://btla-tech.medium.com/behind-the-scenes-architecting-robust-flutter-apps-a5228d75b442?source=rss-9139caf2e516------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5228d75b442</guid>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-architecture]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[BTLA Tech Team]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 16:53:57 GMT</pubDate>
            <atom:updated>2024-04-04T18:03:03.471Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WpXJoVdzlDxfB5HVxPxEaQ.png" /></figure><p><em>This is the second blog of </em><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><em>this series of blog posts </em></a><em>highlighting our experiences with flutter and what’s next for mobile apps.</em></p><p>Our Flutter app’s architecture is built on modular design, Atomic Design principles, state and dependency management. This approach ensures scalability, maintainability, and consistency across features while facilitating seamless management of requirements.</p><h3>Building Blocks: Navigating the Architecture of Our Flutter App</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*pIm6RSPcOvgNG4-HSdA8PA.png" /><figcaption>Core architecture of flutter codebase</figcaption></figure><h3>Dependency Injection</h3><p>Dependency injection enhances modularity, testability, and maintainability by decoupling components and their dependencies. With <a href="https://pub.dev/packages/injectable">Injectable</a> and <a href="https://pub.dev/packages/get_it">GetIt</a> libraries, we seamlessly adapt to various requirements and use cases, reducing code redundancy and promoting efficiency.</p><p>For instance, consider a NetworkManager class responsible for handling API requests. This class abstracts away network details and holds base URLs for APIs. Depending on the environment, two implementations of this class can be created — one for Production (<em>NetworkManagerProd</em>) and one for Staging (<em>NetworkManagerStaging</em>). These implementations encapsulate environment-specific configurations, such as different base URLs.</p><pre>abstract class NetworkManager {<br>  String getBaseUrl();<br>  // Other network methods<br>}<br><br>class NetworkManagerProd implements NetworkManager {<br>  @override<br>  String getBaseUrl() {<br>    return &quot;https://api.example.com/prod&quot;;<br>  }<br>  // Implement network methods for Production environment<br>}<br><br>class NetworkManagerStaging implements NetworkManager {<br>  @override<br>  String getBaseUrl() {<br>    return &quot;https://api.example.com/staging&quot;;<br>  }<br>  // Implement network methods for Staging environment<br>}</pre><pre>void main() {<br>  Environment environment = determineEnvironment(); // Function to determine environment<br>  <br>  NetworkManager networkManager;<br>  if (environment == Environment.prod) {<br>    networkManager = NetworkManagerProd();<br>  } else {<br>    networkManager = NetworkManagerStaging();<br>  }<br><br>  // Register networkManager as a dependency<br>  DependencyRegistry.register&lt;NetworkManager&gt;(networkManager);<br><br>  // Continue with app initialization<br>}</pre><h3>Feature Resolver — <strong>plugIn play</strong></h3><p>The FeatureResolver acts as a pivotal component in the application’s architecture, facilitating feature-specific configuration and also enables to achieve a plugin-play style architecture. Within each feature, Feature Resolver is implemented to encapsulate feature-specific modules, including RouterModule, DependencyModule, and ABExperimentModule.</p><ul><li><strong>RouterModule</strong>: Provides feature-specific routing configurations, defining navigation paths and screens within the feature.</li><li><strong>DependencyModule</strong>: Offers a collection of dependencies tailored to the feature, enabling seamless integration of feature-specific services, utilities, and data sources.</li><li><strong>ABExperimentModule</strong>: Facilitates feature-specific A/B testing capabilities, allowing for the experimentation and evaluation of alternative user experiences within the feature.</li></ul><p>By leveraging the FeatureResolver, we have achieves modularity and maintainability and empowering individual features to encapsulate their unique configurations and dependencies while promoting scalability and flexibility across the entire codebase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*06z8oyv82npYhwaY" /><figcaption>Feature Resolver Flow Chart</figcaption></figure><pre>abstract class FeatureResolver {<br>  const FeatureResolver();<br><br>  RouterModule? get routerModule;<br><br>  DependencyModule? get dependencyModule;<br><br>  ABExperimentModule? get abExperimentModule;<br>}<br><br>class HomePageFeatureResolver extends FeatureResolver {<br>  @override<br>  RouterModule get routerModule =&gt; HomePageRouterModule();<br><br>  @override<br>  DependencyModule get dependencyModule =&gt; HomePageDependencyModule();<br><br>  @override<br>  ABExperimentModule get abExperimentModule =&gt;HomePageABExperimentModule();<br>}</pre><h3>Atomic Architecture: The Cornerstone of Scalable UI</h3><h4>Interface Consistency: Creating Our Internal UI Design System Library</h4><p>To ensure consistency and streamline UI development across our application, we’ve developed our own internal UI Design System library. This repository acts as a centralised UI component factory, housing a comprehensive collection of reusable components. This UI Design System library empower development team to build consistent UI efficiently.</p><h4>Streamlining Dynamic Theming with ByjusTheme System</h4><p>To accommodate the dynamic nature of the application, where users and cohorts experience different themes, we’ve developed the ByjusTheme system control from <a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0">SDUI (Server Driven UI)</a>. This system provides a cohesive approach to manage cohort based themes across all platforms efficiently.</p><p>The ByjusTheme class serves as the backbone of the theming system, encapsulating essential design elements such as colors, dimensions and typography.</p><pre>class ByjusTheme extends InheritedWidget {<br>  final ByjusColors colors;<br>  final ByjusDimens dimens;<br>  final ByjusMonotones monotones;<br>  final ByjusTypography typography;<br>  final ByjusDefaults defaults;<br><br>  ByjusTheme({<br>    Key? key,<br>    required this.colors,<br>    required this.dimens,<br>    required this.monotones,<br>    required this.typography,<br>    required this.defaults,<br>    required Widget child,<br>  }) : super(key: key, child: child);<br><br>  @override<br>  bool updateShouldNotify(covariant ByjusTheme oldWidget) {<br>    return listEquals(props, oldWidget.props);<br>  }<br><br>  static ByjusTheme of(BuildContext context) {<br>    return context.dependOnInheritedWidgetOfExactType&lt;ByjusTheme&gt;()!;<br>  }<br><br>  List&lt;Object?&gt; get props =&gt; [colors, dimens, monotones, typography, defaults];<br>}</pre><p>With the ByjusTheme system in place, applying themes to UI elements becomes straightforward. Here’s an example of how to use the ByjusTheme to style a Text widget:</p><pre>Text(<br>  &quot;Shorts Content&quot;,<br>  style: ByjusTheme.of(context).typography.sectionHeader.copyWith(<br>    color: ByjusTheme.of(context).monotones.c60,<br>  ),<br>  textAlign: TextAlign.left,<br>),</pre><p>By leveraging the ByjusTheme system, our application effortlessly adapts to various themes, ensuring a consistent and delightful user experience across different cohorts and user groups.</p><h4>UI Library</h4><p>At the heart of our UI Core library lies a collection of common components, meticulously crafted to adhere to the Atomic Design principles. Let’s take a look at an examples:</p><pre>import &#39;package:flutter/material.dart&#39;;<br><br>class RoundedButton extends StatelessWidget {<br>  final String text;<br>  final VoidCallback onPressed;<br><br>  const RoundedButton({required this.text, required this.onPressed});<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Container(<br>      decoration: BoxDecoration(<br>        borderRadius: BorderRadius.circular(20.0),<br>        boxShadow: [<br>          BoxShadow(<br>            color: Colors.black.withOpacity(0.2),<br>            spreadRadius: 2,<br>            blurRadius: 5,<br>            offset: Offset(0, 3),<br>          ),<br>        ],<br>        gradient: LinearGradient(<br>          colors: [Colors.purple.shade600, Colors.purple.shade800],<br>          begin: Alignment.centerLeft,<br>          end: Alignment.centerRight,<br>        ),<br>      ),<br>      child: Material(<br>        color: Colors.transparent,<br>        child: InkWell(<br>          onTap: onPressed,<br>          borderRadius: BorderRadius.circular(20.0),<br>          child: Container(<br>            padding: EdgeInsets.symmetric(vertical: 12, horizontal: 20),<br>            child: Text(<br>              text,<br>              style: TextStyle(<br>                color: Colors.white,<br>                fontSize: 16,<br>                fontWeight: FontWeight.bold,<br>              ),<br>            ),<br>          ),<br>        ),<br>      ),<br>    );<br>  }<br>}</pre><p>Here we have created a button component which we can now use freely across our application wherever required.</p><pre>import &#39;package:flutter/material.dart&#39;;<br>// Import the rounded button component<br>import &#39;package:byjus_ui_core/rounded_button.dart&#39;; <br><br>class YourScreen extends StatelessWidget {<br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(&#39;Dummy Screen&#39;),<br>      ),<br>      body: Center(<br>        child: RoundedButton(<br>          text: &#39;Submit&#39;,<br>          onPressed: () {<br>            // Add your onPressed logic here<br>            print(&#39;Button Pressed!&#39;);<br>          },<br>        ),<br>      ),<br>    );<br>  }<br>}</pre><p>As we can see that the actual code for the screen is effortlessly optimized and allows us to write complex yet readable code which is not only easy to scale but also reduces development time significantly.</p><h3>Benefits of Our Atomic Design Library</h3><ul><li>Consistency: By adhering to Atomic Design principles, our UI components maintain a consistent look and feel across the application.</li><li>Scalability: The modular nature of Atomic Design allows for easy scalability as our application grows, facilitating the addition of new components and patterns.</li><li>Code Reusability: Components in our Atomic Design library are designed for reuse, reducing redundancy and promoting efficient development practices.</li></ul><p>This approach ensures that our UI development process is not only efficient but also conducive to building robust, scalable applications that resonate with our users across different products and offerings.</p><h3><strong>Tech Stack and Frameworks</strong></h3><h3>1. Flutter Bloc</h3><p>We chose the BLoC (Business Logic Component) pattern for state management, providing robust separation of concerns and reactive UIs.</p><h4><em>Benefits and Use Cases:</em></h4><ul><li>Allows tracking of application state at any given moment.</li><li>Facilitates recording user interactions for data-driven decisions.</li><li>Speeds up development with a reactive UI experience.</li></ul><h4><strong><em>Alternative: Provider</em></strong></h4><p>While Provider is popular, we found BLoC more suitable due to its clear separation of concerns.</p><h3>2. Database: Isar</h3><p>We opted for Isar, a lightweight NoSQL database, for persistence, offering efficient solutions and reactive UI updates.</p><h4><em>Benefits and Use Cases:</em></h4><ul><li>Ensures application responsiveness even under poor network conditions.</li><li>Provides efficient methods integrating seamlessly with our reactive UI system.</li></ul><h4><strong><em>Alternative: Hive</em></strong></h4><p>While Hive is popular, we found Isar better suited for its superior performance and built-in support for reactive UI updates.</p><h3>3. Dependency Injection: Injectable and GetIt</h3><ul><li>We leverage dependency injection for managing instances across the application, ensuring flexibility and maintainability.</li></ul><h4><em>Benefits and Use Cases:</em></h4><ul><li>Simplifies management of instances.</li><li>Enables seamless reuse without explicit implementation definitions.</li></ul><h4><strong><em>Alternative: Singleton</em></strong></h4><ul><li>While singletons could address managing instances, they fall short when dealing with multiple implementations for different requirements. We opted for Injectable and GetIt for a more scalable solution.</li></ul><p>This is part of a series of blog posts highlighting our experiences with Flutter and discussing what’s next for client apps.</p><ol><li><a href="https://btla-tech.medium.com/fluttering-forward-transitioning-tech-stacks-8b8722207f5c"><strong>Fluttering Forward: Transitioning Tech Stacks in Byju’s</strong></a></li><li><a href="https://btla-tech.medium.com/behind-the-scenes-architecting-robust-flutter-apps-a5228d75b442"><strong>Behind the scenes: Architecting robust flutter apps</strong></a></li><li><a href="https://btla-tech.medium.com/beyond-the-hurdles-addressing-challenges-in-android-ios-and-web-development-0ee9d6730317"><strong>Beyond the hurdles: Addressing challenges in Android, iOS, and Web development</strong></a></li><li><a href="https://btla-tech.medium.com/efficiency-unleashed-the-power-of-automation-in-our-flutter-adventure-a99e8f6accd2"><strong>Efficiency Unleashed: The Power of Automation in Our Flutter Adventure</strong></a></li><li><a href="https://btla-tech.medium.com/strategies-for-reducing-flutter-app-size-96f4ffff58bb"><strong>Strategies to reduce flutter app size</strong></a></li><li><a href="https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0"><strong>Neon — the server-driven UI (SDUI) tool powering Byju’s multi platform apps</strong></a></li><li>Flutter Community Contribution — TBU</li></ol><h4>Contributors:</h4><p><a href="https://medium.com/u/21a3b4591895">Divyasourabh</a>, <a href="https://medium.com/u/dbea9a3b357a">Utkarsh Dixit</a>, <a href="https://medium.com/u/6b5b2a270ace">Rachit Goyal</a>, <a href="https://medium.com/u/bf0f20e55c03">Sahil Tuli</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5228d75b442" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neon — the server-driven UI (SDUI) tool powering apps at Byju’s]]></title>
            <link>https://btla-tech.medium.com/neon-the-server-driven-ui-sdui-tool-powering-apps-at-byjus-0479df0afbb0?source=rss-9139caf2e516------2</link>
            <guid isPermaLink="false">https://medium.com/p/0479df0afbb0</guid>
            <category><![CDATA[byjus]]></category>
            <category><![CDATA[sdui]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[BTLA Tech Team]]></dc:creator>
            <pubDate>Thu, 28 Mar 2024 04:45:11 GMT</pubDate>
            <atom:updated>2024-03-28T04:45:11.100Z</atom:updated>
            <content:encoded><![CDATA[<h3>Neon — the server-driven UI (SDUI) tool powering apps at Byju’s</h3><p>By <a href="https://www.linkedin.com/in/g-shashwat/">Shashwat Garg</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q-Ct2LyxiGdDhkZ6.png" /><figcaption>SDUI at Byju’s (Neon)</figcaption></figure><p>In the realm of mobile applications, the app’s interface is governed by the application itself, while the contents are provided by the backend server. The visual elements, also known as UI elements, undergo a comprehensive journey before reaching their intended users. Developers construct features, subject them to testing, and then package them for deployment. Subsequently, these features are submitted to app stores such as Play Store/App Store, where the respective teams review them before making them accessible to users. This is a lengthy process, making feature deployment slow.</p><p>Even after the updated versions are made available for the users, there is a tendency for only a fraction of users to promptly update their apps upon release, making the feature take even longer to come into play. Not to mention, with each update and feature, the app size will continue to grow, making it bulkier.</p><h4>Enter Server-Driven UI</h4><p>In this landscape of lagging app updates and fractured user experiences, Server-Driven UI (SDUI) emerges as a paradigm shift. It empowers developers to break free from the shackles of app store dependencies by centralising UI control across various devices, screens and operating systems. This architecture provides dynamic layouts and personalised features, delivered seamlessly to users in real-time. Imagine new functionalities materialising in the blink of an eye, enriching the user experience. SDUI provides a technical innovation, a reimagination of the possibilities for user interfaces where new functionalities seamlessly appear, improving the user journey one step at a time.</p><p>Another advantage of SDUI is how it changes the way developers and product managers interact with the app:</p><ul><li><strong>Developers</strong> can build features with the UI layers abstracted out, allowing them to focus more on core functionalities and business logic, making the development process much more agile.</li><li><strong>Product Managers</strong> can visualise the UI features directly via SDUI to provide a shared visual canvas, fostering clearer communication with the developers. It also allows PMs to control UI without dev involvement, providing real-time feedback loop and focusing on user experience.</li></ul><p>At Byju’s, Neon is the server-driven UI (SDUI) tool we use to deliver dynamic and personalised learning experiences to every student. It lets us create customised dashboards with interactive learning modules, progress trackers, and motivational messages tailored to each student’s class, time of day, and device. This approach keeps students engaged by providing relevant content at the right time, boosting overall learning outcomes. Using Neon, we can run A/B tests to run different section layouts and widget combinations to further optimise the learning experience for every individual.</p><h4>Nested Approach</h4><p>The magic of Neon lies in its ability to deliver highly adaptable layouts achieved through a nested approach, where the UI is meticulously constructed using two key elements: containers and widgets.</p><p><strong>Containers</strong>: Think of them as boxes holding other containers or widgets. Picture a website’s main sections; each section is a container housing smaller elements like text, images, and buttons. Containers can be nested within each other, creating a hierarchical structure for even the most complex layouts.</p><p><strong>Widgets</strong>: These reusable building blocks fill the containers with functionality. A banner or a feature — each is a widget with its own set of properties and behaviours. They’re like Lego bricks, snapping together to form the interactive elements of the interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bvNvQtC30D6ReDLN.png" /><figcaption>Nested containers for a layout</figcaption></figure><p>The key? <strong>Standardisation</strong>: Both containers and widgets adhere to a predefined schema, a set of rules that dictate their attributes and interactions. This standardisation is crucial for two reasons:</p><ul><li><strong>Flexibility</strong>: The server can effortlessly swap, add, or remove widgets within containers based on user data, preferences, or A/B testing results. It’s like rearranging furniture in a room — the underlying structure remains, but the individual elements can be dynamically adjusted.</li><li><strong>Efficiency</strong>: Developers don’t need to reinvent the wheel for every layout. Pre-built, standardised widgets can be combined and nested to create endless variations, saving development time and ensuring consistency across platforms and devices.</li></ul><p>This nested approach empowers Neon to deliver complete control over any layout imaginable. We’re not limited to static designs and can create interfaces that adapt and evolve seamlessly in real-time, offering a truly personalised user experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nXPvtado7ucwWffL.png" /><figcaption>Layout Breakdown to containers</figcaption></figure><h4>Containers</h4><p>These versatile elements are the foundation for our ever-evolving UI, serving as vessels for widgets and other containers. Imagine them as flexible compartments that can adapt to our needs, taking two primary forms:</p><ul><li>Row Containers: Picture these as horizontal shelves, neatly aligning widgets side-by-side. Ideal for displaying lists, carousels, or product comparisons, they offer an ordered layout for showcasing multiple elements.</li><li>Column Containers: These are like vertically stacked boxes. These containers arrange widgets one on top of the other, perfect for creating content-heavy sections, news feeds, or step-by-step instructions.</li></ul><p>But containers aren’t just passive holders. They come equipped with a set of filters, empowering us to refine the user experience further. These provide tailoring content based on specific conditions:</p><ul><li>Date &amp; Time Filters: Showcase seasonal promotions during holidays or display time-sensitive announcements, ensuring users encounter the most relevant information at the right moment.</li><li>A/B Testing Filters: Experiment with different widget combinations or layouts within these containers, analysing user engagement to identify the most effective design strategies.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q0jmALdOiqY8IovM.png" /><figcaption>A/B Testing Dashboard</figcaption></figure><ul><li>Class Filters: Target specific user segments with tailored content. This facilitates showcasing personalised recommendations or educational materials based on a user’s class (e.g., beginner, intermediate, advanced). This filter unlocks highly targeted experiences, catering to individual needs and preferences.</li></ul><p>Beyond these filters, we can define custom schemas for specialised configurations. Need a container to handle intricate product filtering options? Or a tailored layout that adjusts based on user preferences? Define your own schema to equip the containers with the specific functionalities that the unique use case demands.</p><p>With their versatile nature and powerful filtering capabilities, containers become the dynamic building blocks of Neon, shaping and adapting effortlessly to deliver a personalised and ever-evolving UI.</p><pre>{<br>    &quot;id&quot;: &quot;104&quot;,<br>    &quot;type&quot;: &quot;row&quot;,<br>    &quot;sort_sequence&quot;: 3,<br>    &quot;data&quot;: &quot;{}&quot;,<br>    &quot;widgets&quot;: [<br>        {...},<br>        {...}<br>    ],<br>    &quot;tags&quot;: [<br>        &quot;home&quot;<br>    ],<br>    &quot;cursor&quot;: &quot;eyJjdXJzb3JfdW5pdcgrszjfdtxJzb3J0X3NlcXVlbmNlIjoxfQ==&quot;,<br>    &quot;page_size&quot;: 10,<br>    &quot;total_size&quot;: 50<br>}</pre><h4>Widgets</h4><p>These reusable components, encompassing buttons and text fields to complex banners and feature modules, provide functionality and user engagement within containers. Like containers, they adhere to a standardised schema, ensuring consistency and streamlined development.</p><p>While offering diverse functionalities, widgets share common properties and filters, empowering us to fine-tune their behaviour seamlessly. But widgets aren’t confined to these filters. We can leverage custom properties to configure them for specialised interactions. Need a banner that animates upon user hover? Or a progress bar that adapts its colour based on completion status? Define custom properties within the widget schema to achieve the desired functionality, ensuring the UI elements are versatile and highly interactive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iy9JdEYH08LNu7fx.png" /><figcaption>Custom schema for a widget</figcaption></figure><p>Remember, widgets are the interactive stars of Neon. By harnessing their standardised approach and the power of filters and custom properties, we can create engaging experiences that truly resonate with our users.</p><pre>{<br>    &quot;id&quot;: &quot;widget_10&quot;,<br>    &quot;type&quot;: &quot;FEATURE&quot;,<br>    &quot;sort_sequence&quot;: 10,<br>    &quot;component_name&quot;: &quot;horizontal_personalised_feed&quot;,<br>    &quot;data&quot;: &quot;{\&quot;title\&quot;:\&quot;Recommended Videos For You\&quot;,\&quot;show_nearby_centers\&quot;:true,\&quot;actions\&quot;:[]}&quot;,<br>    &quot;param_map&quot;: {<br>        &quot;index&quot;: &quot;2&quot;,<br>        &quot;variant&quot;: &quot;lms01&quot;<br>    }<br>}</pre><h4>Backwards Compatible:</h4><p>One of Neon’s key strengths lies in its ability to support backward compatibility with different schema versions for layouts. This means that as our app evolves and we introduce changes to the underlying schema that defines containers and widgets, these changes won’t necessarily break existing layouts relying on older schema versions.</p><p>Each schema iteration gets assigned a unique version number, allowing for clear identification and management. Meanwhile, Older versions remain accessible, ensuring compatibility with layouts built using them.</p><p>This minimizes the risk of breaking existing layouts during schema updates, protecting user experience and preventing potential app store rejections. The schema version also enables developers to introduce new features and functionalities incrementally without requiring immediate updates from all users.</p><h4>What the future hold for us?</h4><p>Looking ahead, Neon holds immense potential to revolutionize the way we interact with technology. Here at Byju’s, we are laser-focused on pushing the boundaries of this transformative technology. In our relentless pursuit of enhancing user experience, we are embracing two cutting-edge advancements:</p><ul><li>Envision crafting an ideal user interface — rearranging features, customizing aesthetics, and previewing changes in real-time. Drag and drop features, customize themes, and preview changes instantly with our intuitive “What You See Is What You Get” (WYSIWYG) editor.</li><li>Picture interfaces that not only adapt to user preferences but anticipate their needs. By integrating AI and machine learning, we envision Neon proactively suggesting relevant content, features, and functionalities, creating a truly symbiotic relationship between user and technology.</li></ul><p>This potent combination promises to revolutionize the way we interact with our platform, ensuring an intuitive, tailored, and seamless experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0479df0afbb0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>