<?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 Nanthankumaran Senthilnathan on Medium]]></title>
        <description><![CDATA[Stories by Nanthankumaran Senthilnathan on Medium]]></description>
        <link>https://medium.com/@nanthakumaran?source=rss-153b47e3ff8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*glWNJnvINGRdPo1E3hgbOw.jpeg</url>
            <title>Stories by Nanthankumaran Senthilnathan on Medium</title>
            <link>https://medium.com/@nanthakumaran?source=rss-153b47e3ff8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:39:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nanthakumaran/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[Kafka Tiered Storage in AWS MSK]]></title>
            <link>https://nanthakumaran.medium.com/kafka-tiered-storage-enhancing-scalability-and-cost-efficiency-4750edc519d7?source=rss-153b47e3ff8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4750edc519d7</guid>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[cost-optimization]]></category>
            <dc:creator><![CDATA[Nanthankumaran Senthilnathan]]></dc:creator>
            <pubDate>Mon, 02 Sep 2024 17:41:22 GMT</pubDate>
            <atom:updated>2025-01-21T17:58:42.821Z</atom:updated>
            <content:encoded><![CDATA[<p>We are in a world where the movement of data has become a crucial step in every organisation. Apache Kafka has been the go-to solution for organisations for their data streaming needs. However, when data volumes grows exponentially, organisations faces critical challenges in managing storage cost and scalability. This is where Kafka Tiered Storage came to tackle the issue. To understand more about Kafka Tiered Storage, check out my dedicated article — <a href="https://www.presidio.com/technical-blog/kafka-tiered-storage-enhancing-scalability-and-cost-efficiency/">Kafka Tiered Storage: Enhancing Scalability and Cost-Efficiency</a></p><p>In this article will see how we can achieve Tiering in AWS for a cost efficient and scalable Kafka brokers</p><p><strong>Quick Glimpse about Kafka Tiered Storage</strong></p><p>Traditionally, Kafka stores all of the cluster data on it’s local disk. Though it ensures Kafka’s high performant and low latency clusters, it introduces scalability issues, cost inefficiency, operational overhead and lot more.</p><p>To overcome these issues, Kafka team introduced Kafka Tiered Storage in KIP-405 in September 2023. It introduces Storage Tiers to handle growing data needs</p><ul><li><strong>Hot Tier</strong>: This tier stores data at broker’s local disks to store recently and frequently accessed data.</li><li><strong>Cold Tier</strong>: This tier stores data in remote object storage (such as Amazon S3, Google Cloud Storage, or Azure Blob Storage) for older and less frequently accessed data.</li></ul><h3>AWS MSK and Kafka Tiered Storage</h3><p>Amazon Managed Streaming for Apache Kafka (MSK) is a fully managed service that makes organisations to focus on building data pipelines rather than managing them. Let’s see how we can enable and use Kafka Tiered Storage in MSK</p><p><strong>Step 1: Enable Tiered Storage in MSK</strong></p><p>To enable Tiered Storage in MSK you need to have Kafka version set to 3.5.1 or later. You can enable the option via AWS console or you can do that via Cloudformation template as described below</p><pre>{<br>    &quot;KafkaVersion&quot;: &quot;3.5.1 or later&quot;,<br>    &quot;BrokerNodeGroupInfo&quot;: {<br>        ...<br>    },<br>    &quot;TieredStorageInfo&quot;: {<br>        &quot;Enabled&quot;: true<br>    }<br>}</pre><p><strong>Step 2: S3 Bucket Setup</strong></p><p>Create an S3 bucket to serve as your cold tier storage</p><p><strong>Step 3: IAM Configuration</strong></p><p>Create a IAM Role with necessary permission to access you S3 bucket and attach that to the MSK.</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [<br>                &quot;s3:PutObject&quot;,<br>                &quot;s3:GetObject&quot;,<br>                &quot;s3:DeleteObject&quot;,<br>                &quot;s3:ListBucket&quot;<br>            ],<br>            &quot;Resource&quot;: [<br>                &quot;arn:aws:s3:::kafka-cold-tier&quot;,<br>                &quot;arn:aws:s3:::kafka-cold-tier/*&quot;<br>            ]<br>        }<br>    ]<br>}</pre><p>Also don’t forgot to update your Bucket policy to give MSK permission to access your Bucket</p><p>To have more control over the Tiering, you can even set topic level configuration to control the lifecycle</p><pre># Topic configuration<br>segment.ms=3600000                # 1 hour segments<br>remote.storage.enable=true<br>local.retention.ms=86400000       # 24 hours in hot tier<br>remote.storage.replication.factor=2</pre><h3>Cost Optimisation</h3><p>As you are moving older and less frequent data to S3, you can set S3 lifecycle to further reduce your cost. Here is a simple lifecycle that you can use,</p><pre>{<br>    &quot;Rules&quot;: [<br>        {<br>            &quot;ID&quot;: &quot;Move to STANDARD_IA and Glacier&quot;,<br>            &quot;Status&quot;: &quot;Enabled&quot;,<br>            &quot;Filter&quot;: {<br>                &quot;Prefix&quot;: &quot;&quot;<br>            },<br>            &quot;Transitions&quot;: [<br>                {<br>                    &quot;Days&quot;: 0,<br>                    &quot;StorageClass&quot;: &quot;STANDARD_IA&quot;<br>                },<br>                {<br>                    &quot;Days&quot;: 30,<br>                    &quot;StorageClass&quot;: &quot;GLACIER&quot;<br>                }<br>            ]<br>        }<br>    ]<br>}</pre><p>Also by configuring the retention of logs, we can achieve reduced cost</p><pre># Hot tier retention<br>local.retention.bytes=107374182400  # 100GB<br>local.retention.ms=86400000         # 24 hours<br><br># Cold tier retention<br>remote.retention.ms=2592000000      # 30 days<br>remote.retention.bytes=-1           # Unlimited</pre><p>But make sure the volume and duration aligns with your goals</p><p>Implementing Kafka Tiered Storage in AWS using MSK provides organisations the time to focus more on building things rather than managing and configuring while they can achieve reduced cost and improved scalability. Also S3 provides unlimited storage scalaing that can be a life saver when it comes to storing logs in broker’s local disk. The sweat spot lies in proper configuration, monitoring, and ongoing optimisation based on your specific requirements and goals</p><blockquote>Follow me on <a href="https://twitter.com/nanthakumaran_">Twitter</a> <a href="https://www.linkedin.com/in/nanthakumaran-s">LinkedIn</a> <a href="https://github.com/nanthakumaran-s">GitHub</a> <a href="https://medium.com/@nanthakumaran">Medium</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4750edc519d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to automate releases and publish packages to NPM using GitHub Actions]]></title>
            <link>https://nanthakumaran.medium.com/how-to-automate-releases-and-publish-packages-to-npm-using-github-actions-910d5128c0fa?source=rss-153b47e3ff8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/910d5128c0fa</guid>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[conventional-commits]]></category>
            <dc:creator><![CDATA[Nanthankumaran Senthilnathan]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 16:10:07 GMT</pubDate>
            <atom:updated>2023-04-07T16:10:07.219Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AzELqXBWG2SM_EGATlnS5w.jpeg" /></figure><p>In this article, we will take a look at how to automate releases and publish packages to NPM using GitHub Actions.</p><h3>Step 1: Add tokens to GitHub</h3><p>We need 2 tokens to accomplish this task of automating releases and publishing packages.</p><ul><li>PA_TOKEN - Personal Access Token from GitHub</li><li>NPM_TOKEN - NPM Token for automation</li></ul><h4>PA_TOKEN</h4><p>Head over to <a href="https://github.com/settings/tokens/new">https://github.com/settings/tokens/new</a> to generate a new Personal Access Token</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m72towWELjrDrPd7" /></figure><blockquote>If you wish to set expiration, make sure to check the token expiration before releases</blockquote><h4>NPM_TOKEN</h4><p>Go to Settings &gt; Access Tokens &gt; Generate new token &gt; Classic token</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ErqX5Vla2ufIAhFa" /></figure><blockquote>Make sure you have chosen Automation</blockquote><h4>Add them to GitHub</h4><p>Open Settings of the repository. Under Security &gt; Secrets &gt; Action, click New Repository Secret and add your tokens</p><p>Make sure to be consistent in naming your Secrets in GitHub. Mine will be</p><p>PA_TOKEN for Personal Access Token and NPM_TOKEN for NPM Registry Token</p><h3>Step 2: Create workflows</h3><p>We are going to create 2 workflows</p><ol><li>releases.yml — To generate release whenever we commit</li><li>publish.yml — To publish the package once the release is published</li></ol><p>.github/workflows/release.yml</p><pre>name: Releases<br>on:<br>  push:<br>    branches:<br>      - main<br><br>jobs:<br>  changelog:<br>    runs-on: ubuntu-latest<br>    steps:<br>      - uses: actions/checkout@v2<br>      - name: Conventional Changelog Action<br>        id: changelog<br>        uses: TriPSs/conventional-changelog-action@v3.7.1<br>        with:<br>          github-token: ${{ secrets.PA_TOKEN }}<br>          version-file: &#39;./package.json,./package-lock.json&#39;<br>      - name: create release<br>        uses: actions/create-release@v1<br>        if: ${{ steps.changelog.outputs.skipped == &#39;false&#39; }}<br>        env:<br>          GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}<br>        with:<br>          tag_name: ${{ steps.changelog.outputs.tag }}<br>          release_name: ${{ steps.changelog.outputs.tag }}<br>          body: ${{ steps.changelog.outputs.clean_changelog }}</pre><p>.github/workflows/publish.yml</p><pre>name: Publish to NPM<br>on:<br>  release:<br>    types: [created]<br>jobs:<br>  build:<br>    runs-on: ubuntu-latest<br>    steps:<br>      - name: Checkout<br>        uses: actions/checkout@v2<br>      - name: Setup Node<br>        uses: actions/setup-node@v2<br>        with:<br>          node-version: &#39;16&#39;<br>          registry-url: &#39;https://registry.npmjs.org&#39;<br>      - name: Install dependencies and build 🔧<br>        run: npm ci<br>      - name: Publish package on NPM 📦<br>        run: npm publish<br>        env:<br>          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}</pre><h4>Explanation:</h4><p>The first entry point will be release.yml, where while committing the code it will generate a new release based on the conventional commits (will see that in minutes).</p><p>After each proper commit, the release.yml will change the CHANGELOG.md, package.json &amp; package-lock.json</p><p>Then once the release was created the publish.yml will publish the package with the generated release to NPM Registry</p><h3>Conventional Commits</h3><p>I have written a detailed article about conventional commits here. Do check it out for a better understanding</p><p><a href="https://nanthakumaran.medium.com/conventional-commits-simplify-your-project-history-and-automate-tasks-29007273e198?source=user_profile---------0----------------------------">https://nanthakumaran.medium.com/conventional-commits-simplify-your-project-history-and-automate-tasks-29007273e198</a></p><p>A quick recap. These commit messages are based on semantic software versioning. To generate releases, we need to follow this conventional commit format</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LnnDaKhamVVHx43S" /></figure><p>Based on this the commit message needs to be composed.</p><ul><li>fix - Bug Fixes<br>eg: git commit -m &quot;fix: Fixed a typo in index.js&quot;</li><li>feat - Features (Minor changes)<br>eg: git commit -m &quot;feat: Added payment feature&quot;</li><li>BREAKING CHANGE - Major changes<br>eg: git commit -m &quot;BREAKING CHANGE: Migration from Node 12 to Node 16&quot;</li></ul><p>These are the basic conventional commit messages. There are some additional conventional commit messages too. They are,</p><p>docs:, style:, refractor:, chore: and much more.</p><p>Check out <a href="https://www.conventionalcommits.org/en/v1.0.0/">https://www.conventionalcommits.org/en/v1.0.0/</a> for more information about conventional commits</p><p>I hope you are clear with the detailed step-by-step guide to automate releases and publish packages to NPM using GitHub Actions. Thanks for reading</p><p>Follow Nanthakumaran on <a href="https://twitter.com/nanthakumaran_">Twitter</a> <a href="https://www.linkedin.com/in/nanthakumaran-s">LinkedIn</a> <a href="https://github.com/nanthakumaran-s">GitHub</a> <a href="https://medium.com/@nanthakumaran">Medium</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=910d5128c0fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Conventional Commits: Simplify Your Project History and Automate Tasks]]></title>
            <link>https://nanthakumaran.medium.com/conventional-commits-simplify-your-project-history-and-automate-tasks-29007273e198?source=rss-153b47e3ff8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/29007273e198</guid>
            <category><![CDATA[conventional-commits]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[developer-experience]]></category>
            <category><![CDATA[clean-coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Nanthankumaran Senthilnathan]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 16:04:44 GMT</pubDate>
            <atom:updated>2023-04-07T16:11:14.794Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVSHBIM27ogXIl2lZz0Lrg.jpeg" /></figure><p>Conventional commits are a standardized way to format commit messages in software development. The goal is to make it easier to understand the history of a project and automate certain tasks. Conventional commits follow a specific syntax, allowing tools to generate changelogs, version numbers, and more automatically.</p><h3>Structure of Conventional Commits</h3><p>A conventional commit consists of a type, scope, and subject separated by a colon.</p><p>For example:</p><pre>feat: add payment feature</pre><p>The feat indicates the type of commit, in this case, a new feature.</p><pre>fix: improve performance in dashboard module</pre><p>Here, the type is fix (a bug fix), the subject is improve performance in dashboard module, and the scope is dashboard module. The scope is optional for a conventional commit</p><h3>Types of commits</h3><p>There are several types of commits specified in the conventional commits specification:</p><ul><li>feat: a new feature</li><li>fix: a bug fix</li><li>docs: documentation changes</li><li>style: formatting, missing semi-colons, etc.</li><li>refactor: code changes that do not fix a bug or add a feature</li><li>perf: changes that improve performance</li><li>test: adding or updating tests</li></ul><h3>Benefits of using this</h3><p>Using conventional commits can have several benefits for your team. First, it makes it easier to understand the history of a project, as the commit messages provide clear and concise information about the changes made. This can be especially useful when reviewing code or trying to understand why a particular change was made.</p><p>Second, conventional commits allow for the automated generation of changelogs and version numbers. Many tools, such as semantic-release, use the commit messages to determine the next version number and generate a changelog. This can save your team time and effort.</p><p>Take a look at this article about automating releases and publishing packages to the NPM registry. Take a look at the release.yml workflow alone to get an understanding to automate releases with conventional commits</p><p><a href="https://nanthakumaran.medium.com/how-to-automate-releases-and-publish-packages-to-npm-using-github-actions-910d5128c0fa">https://nanthakumaran.medium.com/how-to-automate-releases-and-publish-packages-to-npm-using-github-actions-910d5128c0fa</a></p><h3>Final words</h3><p>Finally, Adopting conventional commits can help improve the organization and maintainability of your codebase. It&#39;s a simple change that can have big benefits for your team. If you&#39;re not already using conventional commits, consider giving them a try on your next project.</p><p>I hope you are clear with conventional commits and their use cases. Thanks for reading</p><p>Follow Nanthakumaran on <a href="https://twitter.com/nanthakumaran_">Twitter</a> <a href="https://www.linkedin.com/in/nanthakumaran-s">LinkedIn</a> <a href="https://github.com/nanthakumaran-s">GitHub</a> <a href="https://medium.com/@nanthakumaran">Medium</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29007273e198" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to run background tasks in Flutter using WorkManager]]></title>
            <link>https://nanthakumaran.medium.com/how-to-run-background-tasks-in-flutter-using-workmanager-579479f802c8?source=rss-153b47e3ff8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/579479f802c8</guid>
            <category><![CDATA[background-task]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[cross-platform-mobile-app]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Nanthankumaran Senthilnathan]]></dc:creator>
            <pubDate>Sun, 03 Oct 2021 16:50:49 GMT</pubDate>
            <atom:updated>2021-10-03T17:07:14.914Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*piIllbGHiDxyWDQMNpwD4A.png" /></figure><p>As you’re searching for background tasks. I assume you’re a bit comfortable with Flutter and the Mobile ecosystem. So I don’t want to bore you with the topics like What is Flutter? and all. So without further redo let’s start the topic.</p><p>This article is separated into:</p><ul><li>Different types of tasks</li><li>What is WorkManager?</li><li>How to run background tasks?</li><li>Some Constraints</li></ul><h3><strong>Different Types of Tasks</strong></h3><p>In Mobile Development, there are three kinds of tasks that can run in the background without blocking the user. They are,</p><ul><li>Foreground — When the application is open, in view &amp; in use.</li><li>Background — When the application is open, however in the background (minimised). This typically occurs when the user has pressed the “home” button on the device, has switched to another app via the app switcher.</li><li>Terminated — When the device is locked or the application is not running. The user can terminate an app by “swiping it away” via the app switcher UI on the device</li></ul><p>As a developer, we need to take care of all of these different types of tasks for building a User-Friendly Application.</p><p>For this handling these different kinds of situations using Flutter, we are going to and package namely <a href="https://pub.dev/packages/workmanager"><strong>WorkManager</strong></a>.</p><h3>What is WorkManager?</h3><p>As you all are aware WorkManager is a Flutter Package that can run your dart code in the background. As the package states, WorkManager is,</p><blockquote>Flutter WorkManager is a wrapper around <a href="https://developer.android.com/topic/libraries/architecture/workmanager">Android’s WorkManager</a> and <a href="https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623125-application">iOS’ performFetchWithCompletionHandler</a>, effectively enabling headless execution of Dart code in the background.</blockquote><p>As a first step include WorkManager in your <strong><em>pubspec.yaml.</em></strong></p><pre>dependencies:<br>  flutter:<br>    sdk: flutter<br>  cupertino_icons: ^0.1.2<br><strong>  workmanager: &lt;latest version&gt;</strong></pre><h4>Android Setup:</h4><p>Android require less or no setup for this package. First, in your AndroidManifest.xml check that if you’re having,</p><pre>&lt;meta-data<br>    android:name=&quot;flutterEmbedding&quot;<br>    android:value=&quot;2&quot; /&gt;</pre><p>That’s it you’re good to go.</p><h4>iOS Setup:</h4><p>iOS requires more steps than Android. First, in your <strong><em>Podfile, </em></strong>make sure your minimum deployment target is set to 10. platform: ios, &#39;10.0&#39;</p><p>Next in your <strong><em>info.plist </em></strong>add,</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5608f245dd56757f550acb5d794c5ebd/href">https://medium.com/media/5608f245dd56757f550acb5d794c5ebd/href</a></iframe><p>Then in your<strong><em> project.pbxproj </em></strong>add,</p><pre>SystemCapabilities = {<br>	com.apple.BackgroundModes = {<br>		enabled = 1;<br>	};<br>};</pre><p>Whoof! One last step inside your app’s delegate file add,</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0d770feab5f5e0d0637f4a0e6ca52faf/href">https://medium.com/media/0d770feab5f5e0d0637f4a0e6ca52faf/href</a></iframe><p>Hurray! you did it.</p><h3>How to run background tasks?</h3><p>Configuring WorkManager is really easy. In your <strong><em>main.dart, </em></strong>add the following lines of code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/21e426d4ad6d61e65b1cef3b22c2c973/href">https://medium.com/media/21e426d4ad6d61e65b1cef3b22c2c973/href</a></iframe><p>Reason for const fetchBackground = &quot;fetchBackground&quot;; is you can run many background tasks by passing down the unique strings. It will be managed in the switch statement under the callbackDispatcher() function.</p><p>In this example, I have included Workmanager().registerPeriodicTask(); which runs periodically for certain intervals. There is something like Workmanager().registerOneOffTask(); which runs only once.</p><p>For more information regarding the parameters that we can pass down to WorkManager, you can check out their <a href="https://github.com/fluttercommunity/flutter_workmanager/blob/main/README.md"><strong><em>documentation</em></strong></a>.</p><h4>Debug Mode</h4><p>To know that background tasks are working, you can include debugging option inside Workmanager.initialize();</p><pre>Workmanager.initialize(<br>   ...<br>   isInDebugMode: <strong>true,<br></strong>);</pre><p>This will give you a notification whenever WorkManager runs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*_vtuEw4B1wb-qK6GYfherA.jpeg" /><figcaption>Screenshot of WorkManager in action</figcaption></figure><p>This will be shown whenever your WorkManager runs. In this way, you can get to know whether WorkManager is running.</p><h3>Some Constraints</h3><ul><li>Whatever Duration which is set under 15 minutes cannot run as you except. Because the minimum possible duration for Android is 15 minutes. If you set durations under 15 minutes it will be automatically overwritten by Android.</li><li>Sometimes background tasks can even run once per hour even if you set it to 15 minutes. This is not because of WorkManger. This is because OS background restrictions considering the usage of battery effectively.</li><li>If you are planning for Scheduling Tasks, use <a href="https://pub.dev/packages/android_alarm_manager_plus"><strong><em>android_alarm_manager_plus</em></strong></a><strong><em> </em></strong>instead. This leads to another article which will be released soon.</li><li>Last but an important note. Your manufacturer can be a cause for blocking your background tasks after restart or because of some power-saving settings. To overcome this you need to enable it by your phone’s settings</li></ul><p>That’s it for this article. Hope you learn some new skills and can enable background fetching options in your upcoming apps. If you like this article do like, share and comment your thoughts about this article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=579479f802c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>