<?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 Sumeet Rukeja on Medium]]></title>
        <description><![CDATA[Stories by Sumeet Rukeja on Medium]]></description>
        <link>https://medium.com/@sumeetrukeja?source=rss-e045ca98c2e2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PnxSjzolXWGeWoIw.jpg</url>
            <title>Stories by Sumeet Rukeja on Medium</title>
            <link>https://medium.com/@sumeetrukeja?source=rss-e045ca98c2e2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:59:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sumeetrukeja/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[Streamlining Navigation in Jetpack Compose]]></title>
            <link>https://proandroiddev.com/streamlining-navigation-in-jetpack-compose-a5d730600f21?source=rss-e045ca98c2e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5d730600f21</guid>
            <category><![CDATA[navigation]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[jetpack-compose]]></category>
            <category><![CDATA[declarative-programming]]></category>
            <dc:creator><![CDATA[Sumeet Rukeja]]></dc:creator>
            <pubDate>Mon, 01 Nov 2021 18:30:21 GMT</pubDate>
            <atom:updated>2021-11-01T18:30:21.898Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*-STlbWuokn4pEXN0zIP6AA.png" /></figure><p>When compared with classic Android, Jetpack Compose — along with its declarative ways of building UI — brings a ton of new approaches to handle common tasks with great efficiency .</p><p><strong>Navigation</strong> is one such area where compose has amazed me quite a lot. Its Navigation library allows us to navigate between composables without caring about fragments, dialogs, transaction managers and various other complex stuff. This is nothing less than a blessing!</p><h4>Motivation</h4><p>It provides us abilities to navigate to composables, pass data as arguments, consume deep links and much more. But if we don’t manage it properly, the code gets messy very quickly and it becomes difficult to understand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*lwg0xymAXpcJh4dCyZ3T6A.gif" /></figure><p>Here’s an example :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*9kUFW_H1uqhaCrAKl5bUXA.png" /></figure><p>There are various approaches and guidelines designed by experts to tackle this problem. But I decided to reinvent the wheel as per my needs. Assuming that you’re already aware about basics of <a href="https://developer.android.com/jetpack/compose/navigation">Navigation with Compose</a>, let’s dive into the solution.</p><h3>Solution</h3><p>To simplify things, I decided to build a helper class wherein we can define all the constants for routes &amp; arguments. I call it <strong>NavHelper.kt</strong>.</p><h4>Route</h4><p>It contains an abstract class called <strong>Route</strong> which acts as a parent for all <em>navigation graphs </em>as well as <em>consumables</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/488c18e0d8cb75242fbb7065bdc04e29/href">https://medium.com/media/488c18e0d8cb75242fbb7065bdc04e29/href</a></iframe><p>It contains various properties and a member function. Let’s look at each of them in details.</p><ul><li><strong>label</strong> is used to uniquely identify a composable or a nested graph</li><li><strong>arguments</strong> &amp; <strong>optionalArguments</strong> are lists to accepts respective keys that will be used for mapping arguments</li><li><strong>route</strong> uses <strong>label</strong>, <strong>arguments</strong> &amp; <strong>optionalArguments</strong> to construct a string as per required syntax which can be used to define a route of a composable in the navigation graph</li><li><strong>address</strong> is a function which takes a map of arguments as the parameter and returns a string which is constructed based on <strong>route</strong> and provided arguments. This is to be used when navigating to a composable.</li></ul><p>To see the solution in action, let’s look at a use case.</p><h4>Implementation</h4><p>Let’s consider the following use case :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tFHrAQE80dxz8CobUhh0EQ.png" /></figure><p>Let’s try to build such a navigation graph normally i.e. without using <strong>NavHelper.kt</strong> :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e50330b7db1b8c5c3ef5c89fecab2f2/href">https://medium.com/media/0e50330b7db1b8c5c3ef5c89fecab2f2/href</a></iframe><p>As seen in the code snippet, there is a lot of repetition and mess. This is error prone only with 2 screens. Image the mess in the app with 30-40 screens!</p><p>Now, for the same use case, let’s use <strong>NavHelper.kt</strong> that we created :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9a80e67bd9ad2e207e57f9edbaccf4e8/href">https://medium.com/media/9a80e67bd9ad2e207e57f9edbaccf4e8/href</a></iframe><p>It looks clean and easy to understand. Under the hood, all the navigation logic in handled by <strong>NavHelper.kt</strong>.</p><p>Here’s what I did inside <strong>NavHelper.kt</strong> for this case.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d572c16a7d58a7ffb1c7c9ed3021b4f1/href">https://medium.com/media/d572c16a7d58a7ffb1c7c9ed3021b4f1/href</a></iframe><p>This can be used as a launchpad for streamlining the entire navigation process and can probably still be optimised further.</p><h3>Winding up</h3><p>Here’s a <a href="https://github.com/smokelaboratory/jc-nav-helper">sample codebase</a> for you to experiment.</p><p>This is just an attempt to make things easier with navigation in Jetpack Compose. If you find any flaws/obstacles with this approach or if you know a better/simpler approach, please do let me know.</p><p>Please don’t forget to smash the <strong>Clap</strong> button if you found the article useful. See you next time! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5d730600f21" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/streamlining-navigation-in-jetpack-compose-a5d730600f21">Streamlining Navigation in Jetpack Compose</a> was originally published in <a href="https://proandroiddev.com/">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Securing Android’s DataStore]]></title>
            <link>https://proandroiddev.com/securing-androids-datastore-ad56958ca6ee?source=rss-e045ca98c2e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad56958ca6ee</guid>
            <category><![CDATA[jetpack-datastore]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Sumeet Rukeja]]></dc:creator>
            <pubDate>Fri, 30 Apr 2021 09:39:57 GMT</pubDate>
            <atom:updated>2021-04-30T09:39:57.247Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*GrO4rNxgy77Aft7ZXmlu6A.jpeg" /></figure><p>After the introduction of Jetpack libraries, Android development has been a completely different world. These libraries follow best development practices, reduce boilerplate code and make developers’ lives easier.</p><p><a href="https://developer.android.com/topic/libraries/architecture/datastore">DataStore</a> is one such library which is a local storage solution and overcomes disadvantages of <a href="https://developer.android.com/reference/android/content/SharedPreferences">SharedPreferences</a>. It is based on Kotlin coroutine’s <a href="https://developer.android.com/kotlin/flow">Flow API</a>. It is asynchronous, provides event callbacks and has a good error-handling mechanism.</p><p>To keep this article to the point, I won’t get into how DataStore works and how it is different from the existing solutions. <a href="https://android-developers.googleblog.com/2020/09/prefer-storing-data-with-jetpack.html">This article</a> will help understand why developers should prefer using DataStore.</p><h3>Problem</h3><p>DataStore creates a <strong>.preferences_pb</strong> file in app’s internal storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*MV0Id5CslDJqgKhlN4_eqQ.png" /></figure><p>As of now, the data is stored in an unsecured manner. Hence, storing sensitive data with DataStore is not recommended.</p><h3>Solution</h3><p>Inspired from <a href="https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences">EncryptedSharedPreferences</a>, which is secured version of SharedPreferences, I decided to create a cryptographic layer for DataStore which not only <em>encrypts the data</em> but also provides a generic <em>solution for type safety</em> (which is a problem for Preferences DataStore). So, let’s quickly get into it.</p><p>Before we begin, let’s have an overview of the entire data flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*HV0gkiIcdJyW_WT46DpN1Q.jpeg" /></figure><p>As seen in the flow diagram above, here are the steps that I’ll follow to have the required <strong>encryption</strong> layer :</p><ol><li><strong>Serialize</strong> data to string format</li><li><strong>Encrypt</strong> the data using any encryption technique (I’ll use AES)</li><li>Use <strong>Android keystore system</strong> for storing cryptographic keys</li><li><strong>Store</strong> encrypted data as string in DataStore</li></ol><p>The <strong>decryption</strong> process will follow the reverse flow.</p><h3>Let’s dive in</h3><p>We’ll look into each step of this process.</p><h4><strong>Serialization</strong> &amp; <strong>Deserialization</strong></h4><p>Generally, we encrypt a plain text into cipher text. Hence, we need to have a way to convert every data that we store into plain text. <strong>Serialization</strong> to the rescue!</p><p><a href="https://github.com/google/gson">GSON</a> and <a href="https://github.com/Kotlin/kotlinx.serialization">Kotlinx Serialization</a> are two of the many serialization solutions available to work with. I’ll use the later one as it is comparatively newer, compact and supports multiplatform.</p><p>In order to use <em>Kotlinx Serialization</em>, add the following dependency in your a<em>pp-level</em> gradle file.</p><pre>implementation(<strong>&quot;org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1&quot;</strong>)</pre><p>For <em>Serialization :</em></p><pre>Json.<em>encodeToString</em>(object)</pre><p>For <em>Deserialization</em><strong> :</strong></p><pre><em>Json </em><strong>{ encodeDefaults </strong>= <strong>true }</strong>.<em>decodeFromString</em>(serializedString)</pre><p><em>(</em><strong><em>encodeDefaults </em></strong><em>= </em><strong><em>true</em></strong><em> encodes default values of Kotlin properties)</em></p><h4>Encryption &amp; Decryption</h4><p>We can use any encryption technique for our case. I’ll use <em>AES encryption with GCM mode without padding.</em></p><p>I’ll store the encryption key in <a href="https://developer.android.com/training/articles/keystore">Android keystore system</a>. It stores security keys at hardware level for more security. These keys are paired with public key alias.</p><p>Discussing entire <em>encryption/decryption</em> process is out of scope for this article. So, to keep things straight-forward, I’ve created a security utility class which has all the required methods.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b19b50cc1d4820dfb4c13ec31c413e61/href">https://medium.com/media/b19b50cc1d4820dfb4c13ec31c413e61/href</a></iframe><h4>Storing in DataStore</h4><p>In order to keep the process of storing data in DataStore consistent, I’ve created two extension methods which will help us store and fetch secured data to and from DataStore respectively.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e9f126150cb0c42cad09fa87a0bff80d/href">https://medium.com/media/e9f126150cb0c42cad09fa87a0bff80d/href</a></iframe><ul><li>secureEdit extension method serializes data, encrypts it and stores it in DataStore</li><li>secureMap extension method fetches encrypted data from DataStore, decrypts it and deserializes it into respective data type</li></ul><p>By doing this, we hit two birds with one stone. The data is now secured and type safe. Let’s look at what the stored data looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GRS7eTCiQw-OfsYWPtopDA.png" /></figure><h3>Conclusion</h3><p>DataStore, which was recently shipped in beta version, is a powerful library which leverages coroutines to overcome many disadvantages of other frameworks but is not secured as of now.</p><p>I’ve high hopes that Android team at Google will come up with an in-built solution for security of DataStore but till then, I hope this workaround proves helpful to you. Here’s my <a href="https://github.com/smokelaboratory/secured-datasore">code</a> for you to explore.</p><p>See you next time! Stay safe!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad56958ca6ee" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/securing-androids-datastore-ad56958ca6ee">Securing Android’s DataStore</a> was originally published in <a href="https://proandroiddev.com/">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dissecting Android’s Jetpack Security]]></title>
            <link>https://proandroiddev.com/dissecting-androids-jetpack-security-625ce1b82b4d?source=rss-e045ca98c2e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/625ce1b82b4d</guid>
            <category><![CDATA[sharedpreferences]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[jetpack-security]]></category>
            <dc:creator><![CDATA[Sumeet Rukeja]]></dc:creator>
            <pubDate>Tue, 17 Mar 2020 14:49:59 GMT</pubDate>
            <atom:updated>2020-03-17T14:49:59.599Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*IfspcBi_BBGooj7yr2quVw.png" /></figure><p>Security is the most vital aspect of any software. Whether it is confidential information such as passwords or trivial data such as preferred settings to use an app, security of user’s data should be given utmost importance. Overlooking it might leads to severe fallouts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/1*rFQvLyi2lbgn1jDjAG2_Dg.gif" /></figure><p>As smart phones are now a basic need in this digital world, people engage with internet mostly through their phones. This brings a huge responsibility on shoulders of app developers. They must deal with user data in the most secured way possible. On the other hand, Google has been focusing on Android’s security since a while now and have released a bunch of awesome features to help developers for this purpose. <strong>Jetpack Security</strong> is one of them.</p><h3>Jetpack Security — What’s that?</h3><p>It is a part of <a href="https://developer.android.com/jetpack">Android’s Jetpack</a> which helps us cipher/decipher app’s data stored on the phone. It also helps us in key management and user-verification which brings a whole new level of security. It mostly works for <a href="https://developer.android.com/reference/android/content/SharedPreferences"><strong>SharedPreferences</strong></a> and <strong>Files</strong>.</p><p>We’ll experiment to check how effective it is. But before that, to understand its need, let’s go through how things work without it, shall we?</p><h3>Current scenario</h3><p>To keep it simple, lets only talk about SharedPreferences for a while. In a nutshell, SharedPreferences are used to store data in key-value form which persists through app restarts. This data is stored as an XML file in app’s internal directory which cannot be accessed by user.</p><p>We need to provide a flag to restrict data access. Back in the days, we had flags : MODE_WORLD_READABLE<em> </em>&amp; MODE_WORLD_WRITEABLE. They allowed other apps to read/write XML data without user’s consent! However, they are now deprecated and use of MODE_PRIVATE flag is recommended over these. This restricts other apps from accessing the data, keeping it safer.</p><p>Unfortunately, this isn’t enough. There are a ton of softwares to extract data from app’s internal storage. And if your phone is rooted or compromised, it makes hackers’ job even more easier.</p><p>You can check the XML file in app’s internal directory with Android Studio’s <strong>Device File Explorer</strong> on following path:</p><pre>data/data/&lt;package_name&gt;/shared_prefs/&lt;file_name&gt;.xml</pre><p>Here’s how it stores the data :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3ffbc8e29bb1bfb289d4ee5866a61bce/href">https://medium.com/media/3ffbc8e29bb1bfb289d4ee5866a61bce/href</a></iframe><p>where <strong>email</strong> is the key and <strong>test@gmail.com</strong> is the value.</p><p>If hacker gets his hand on this file, it can be misused. Finally, cryptography to the rescue…!</p><h3>How Jetpack Security works?</h3><p>It works on top of SharedPreferences and uses <a href="https://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES encryption</a> techniques to encrypt the data.</p><p>It uses <strong>SubKeys</strong> to perform encryption/decryption which are further encrypted by a <strong>Master Key</strong>. These SubKeys are stored in configurable SharedPreference object and the Master key is stored in <a href="https://developer.android.com/training/articles/keystore">AndroidKeystore</a>.</p><h4>Master Key</h4><p>Master Key and its management is very interesting and evidently the most important part of this library. It is to be provided while creating encrypted SharedPreferences object. It can be generated in following ways :</p><ul><li><em>Hardcoded strings</em> : This is not advised as it reduces security.</li><li><em>With JetPack’s </em><em>AES256_GCM_SPEC specification</em> : This is recommended way of generating a Master Key. JetSec library can help us generate a key using this specification as follows.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9255f44a93d5703bd1c0ec16744d5abb/href">https://medium.com/media/9255f44a93d5703bd1c0ec16744d5abb/href</a></iframe><ul><li><em>Custom key</em> : This can be used for apps that require higher security and user-authentication to access local data. We need to mention <em>keystoreAlias</em> and key <em>purposes</em> along with other encryption configurations as shown below.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9e890f3c57a60ad855835cc5cb98acf9/href">https://medium.com/media/9e890f3c57a60ad855835cc5cb98acf9/href</a></iframe><p>We can use its setUserAuthenticationRequired property to enable user authentication feature. The master key can only be accessed for the <em>seconds</em> mentioned in setUserAuthenticationValidityDurationSeconds after the user authenticates himself using biometric fingerprint or screen lock. The key gets locked afterwards and accessing it throws a UserNotAuthenticatedException.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/494e97eaf980b0cf5e1abf4a120d23f5/href">https://medium.com/media/494e97eaf980b0cf5e1abf4a120d23f5/href</a></iframe><p>Logic to authenticate user is to be handled by the app using <a href="https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt">BiometricPrompt</a>. We can use the key for specified time once we get success in BiometricPrompt’s onAuthenticationSucceeded method.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/83c53c84e04ace5b4c5b80ba4cb07f4b/href">https://medium.com/media/83c53c84e04ace5b4c5b80ba4cb07f4b/href</a></iframe><p>Here’s a demonstration of a key which remains unlocked for 5 seconds after authentication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*tBkYG3fM9rWH46ggkrZlhg.gif" /><figcaption>User authentication</figcaption></figure><p>Now the question is about storing the Master Key. Being so important, it should be kept at safest place on the phone, right?</p><h4>Android Keystore system</h4><p>It is basically a container which stores cryptographic keys in <a href="https://en.wikipedia.org/wiki/Trusted_execution_environment">TEE</a> or StrongBox.</p><ul><li>TEE stands for <strong>Trusted Execution Environment</strong>. It is a part of main processor which runs on its own OS and communicates with Android OS though a restricted, shared memory.</li><li>StrongBox, a type of <strong>Secure Element</strong> (SE), is a completely different microchip which has its own RAM, storage and CPU. It is designed specially for security purposes and protects the data from various attacks. Chips on SIM cards and credit cards are also Secure Elements.</li></ul><p>StrongBox is currently available only on few latest Android phones (Pixel 3 carries <strong>Titan M</strong> chip).</p><p>To allow JetSec library store keys in StrongBox, we need to enable a flag.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/933a62955316e267325c24ab7fc3a3fc/href">https://medium.com/media/933a62955316e267325c24ab7fc3a3fc/href</a></iframe><p>That’s too much theory. Boring, isn’t it? Ok, let’s code!</p><h3>Coding time!</h3><p>To use Jetpack Security, we need to add its dependency in <strong>build.gradle</strong> file as shown below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a8a82b7e985bbd03a90753035b4ee45c/href">https://medium.com/media/a8a82b7e985bbd03a90753035b4ee45c/href</a></iframe><p>It requires <strong>minSdkVersion</strong> to be 23 or above. Following code can be used to create a preference object.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c9ea19a541511bd58dd6bfb7eb89683d/href">https://medium.com/media/c9ea19a541511bd58dd6bfb7eb89683d/href</a></iframe><p>It requires file name, master key and encryption techniques as parameters. It uses <a href="https://en.wikipedia.org/wiki/Initialization_vector">SIV encryption technique</a> for keys and <a href="https://en.wikipedia.org/wiki/Galois/Counter_Mode">GCM encryption technique</a> for values. There is no difference in using this new preference object compared to standard preference object.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f0c23676c32f4b9f0b5176317771e31/href">https://medium.com/media/2f0c23676c32f4b9f0b5176317771e31/href</a></iframe><p>The XML file will now have encrypted data.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b073bf117d8a9260201bc1fe8f46bc4c/href">https://medium.com/media/b073bf117d8a9260201bc1fe8f46bc4c/href</a></iframe><h3>Encrypted Files</h3><p>The same encryption concepts are applicable for Files as well. JetSec will encrypt the data before storing in the file. The following code snippets demonstrate this feature.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/82837c7e2423d72b1509a298f35c3c2d/href">https://medium.com/media/82837c7e2423d72b1509a298f35c3c2d/href</a></iframe><p>This creates an EncryptedFile object from a normal file object. It requires Master Key &amp; FileEncryptionScheme. KeysetPrefName &amp; KeysetAlias are optional and are used to name the XML file and the key inside it respectively which stores the encryption key value.</p><p>To store and fetch the content from the file, we can use output stream &amp; input stream as below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d343dc6ac112e35f7fb400e7f2fab8a/href">https://medium.com/media/6d343dc6ac112e35f7fb400e7f2fab8a/href</a></iframe><p>Here’s the UI output of this program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*da_A0yrUSO6VPjckKxSQIA.gif" /><figcaption>File encryption</figcaption></figure><p>If you want to explore the complete demo and play around with it, here’s the <a href="https://github.com/smokelaboratory/jetpack_security">Github link</a>.</p><h3>Winding-up</h3><p>Jetpack Security is Android’s huge step forward to provide first-class data security to users. As it is very easy to configure and leverage, I highly recommend this if your application deals with SharedPreferences and Files. We, app developers, should provide our app-users the security they deserve, shouldn’t we?</p><p>That’s all for now! I hope you enjoyed reading the article. Have a <em>secured</em> day ahead! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=625ce1b82b4d" width="1" height="1" alt=""><hr><p><a href="https://proandroiddev.com/dissecting-androids-jetpack-security-625ce1b82b4d">Dissecting Android’s Jetpack Security</a> was originally published in <a href="https://proandroiddev.com/">ProAndroidDev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Motion Widget in Flutter]]></title>
            <link>https://medium.com/flutter-community/introducing-motion-widget-in-flutter-60f94a2ce09c?source=rss-e045ca98c2e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/60f94a2ce09c</guid>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[transitions]]></category>
            <category><![CDATA[layoutanimation]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[motionlayout]]></category>
            <dc:creator><![CDATA[Sumeet Rukeja]]></dc:creator>
            <pubDate>Wed, 11 Mar 2020 22:26:01 GMT</pubDate>
            <atom:updated>2020-03-11T22:26:01.054Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*JJWBMVaortPxB8jUHBwXhQ.png" /></figure><p>Animations! One of the most valuable aspects of modern-day apps. Now-a-days, it’s hard to imagine an app without them. Even if we come across any such monotonous &amp; boring-looking app, it’s difficult maintaining an interest in using it, no? Animations do take app’s UX to next level.</p><p>All front-end technologies provide a full-fledged support for animations and screen transitions. Whether it’s Google’s Material design or Apple’s Flat design, these guidelines solely concentrate on improving user-engagement in apps.</p><p>As I’m an Android developer (by day) and a Flutter enthusiast (by night) 😜, let’s concentrate on these two technologies here onwards. Android now has something called <a href="https://developer.android.com/training/constraint-layout/motionlayout">Motion Layout</a> which works with view constraints and enables developers achieve tricky animations effortlessly. It also has <a href="https://developer.android.com/reference/android/view/animation/LayoutAnimationController">LayoutAnimationController</a> which builds beautiful, animated layouts wherein each view starts animating at a different time. These 2 features inspired me to build something similar for Flutter. I call it : <strong>Motion Widget.</strong></p><h3>What is Motion Widget?</h3><p>Before we get into its details, let me show you what it’s capable of doing(with utmost ease, of course).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*_gmLc4kpubuIrDj9B4vUeg.gif" /><figcaption>Motion Widget demo</figcaption></figure><p>It’s basically a widget which handles initialization, state changes, code clean-ups and all the other animation boilerplate code, keeping you in the driver’s seat by allowing you control the animations at each interval(literally). It’s a real time-saver which takes care of animations and let’s you concentrate on other important aspects of your app.</p><h3>How to use it?</h3><p><strong>Row</strong> &amp; <strong>Column</strong> are two of the most basic widgets in Flutter used to design any UI. Motion Widget supports both these widgets and can be used as their replacement.</p><pre>Motion&lt;T&gt;(<br>    children:&lt;Widget&gt;[]<br>)</pre><p>As shown above, <strong>T</strong> type can be Row or Column. <strong>children</strong> can have a list of Flutter widgets as its value.</p><p>Now the question is : How will they animate? This brings <strong>MotionElement </strong>into the picture. It is a custom widget which works hand-in-hand with the Motion Widget. It contains all the animation information for a child widget and tells the Motion Widget to animate it accordingly.</p><pre>Motion&lt;T&gt;(<br>    children:&lt;Widget&gt;[<br>        MotionElement(<br>            child: Text(&quot;Hi&quot;)<br>        ),<br>        Text(&quot;How are you?&quot;)<br>    ]<br>)</pre><p><strong><em>The child widgets which are supposed to animate should be wrapped with MotionElement widget</em></strong><em>. </em>In the above code, Text widget which is the child of MotionElement will animate while the other one won’t.</p><p>Basically, that’s pretty much it! No animation stuff to deal with and nothing to dispose for avoiding memory leaks. Motion widget takes care of that. You might be wondering : How this allows developers “run the show”? These widgets have a bunch of other parameters for this. Let’s explore!</p><h3>Motion &amp; MotionElement : Deep dive</h3><p>This concept revolves around the two widgets : <strong>Motion</strong> and <strong>MotionElement</strong>.</p><h4>Motion</h4><p>This can be used as a Row or a Column and has all their properties. It also has parameters for controlling animation:</p><ul><li><strong>durationMs </strong>:<strong> </strong>It accepts an integer which will be the animation duration (in milliseconds). By default, this value will be 1000.</li><li><strong>shouldRepeat </strong>:<strong> </strong>If we need to repeat the animation, we can set this property as true.</li><li><strong>isAutomatic </strong>:<strong> </strong>By default, motion widget will start animation automatically. We can control that using this flag.</li><li><strong>exitConfigurations </strong>:<strong> </strong>This accepts a <strong>MotionExitConfigurations</strong> object. Using this, we can configure exit animation. It has properties like <strong>durationMs</strong>, <strong>displacement</strong>, <strong>orientation</strong> and <strong>mode</strong>. This transition will be applied to the entire Motion Widget. <em>It provides you with a controller to control the exit animation</em>.</li></ul><h4>MotionElement</h4><p>This is used as a parent of any element inside Motion Widget which is supposed to animate. This has following properties to play with:</p><ul><li><strong>mode</strong> : The is used to define mode of animation. Currently, Motion Widget supports <strong>TRANSLATE</strong>, <strong>FADE</strong> and <strong>TRANSLATE_FADE</strong>(translate + fade) modes.</li><li><strong>orientation</strong> : This defines the direction of the motion. It can be <strong>LEFT</strong>,<strong> RIGHT</strong>,<strong> UP</strong> or <strong>DOWN</strong>.</li><li><strong>displacement </strong>:<strong> </strong>It takes a double value which defines the translation value of the widget. This will be taken into consideration only if the widget is to be translated.</li><li><strong>interval</strong> : This property is very important when is comes to controlling animations granularly. It accepts Flutter’s <strong>Interval</strong> object. We can mention begin and end time values to delay the animation as per the needs. The values should be between 0.0 and 1.0. We can also specify <a href="https://api.flutter.dev/flutter/animation/Curves-class.html">curves</a> to have complex interpolations.</li></ul><h3>Enough said! Show me the code</h3><p>The following code snippet shows how to use Motion Widget to achieve similar effect as the one provided by Android’s <em>LayoutAnimationController</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/95e82aa5edb60a0e0009f4da7ea035ca/href">https://medium.com/media/95e82aa5edb60a0e0009f4da7ea035ca/href</a></iframe><p>This is the code for <em>feature list screen </em>which can be seen in the GIF that I posted above. The code looks almost the same as the one when we use simple Column widget, doesn’t it?</p><h3>Behind the scenes</h3><p>Motion widget processes each of its child and assigns an <strong>AnimatedBuilder</strong> to it according to MotionElement’s configuration. This can be seen in the below code snippet.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb9934fec04f88986fdbe680f5a2a471/href">https://medium.com/media/fb9934fec04f88986fdbe680f5a2a471/href</a></iframe><h3>Signing off</h3><p>I have converted this widget into a package which can be found <a href="https://pub.dev/packages/motion_widget">here</a> along with a Github example. Motion Widget is still in it’s infant-from and I would love to have any PR from the beautiful, talented Flutter community to improve or change any of its features making it more effective.</p><p>That’s all for now. If you found this article to be helpful, please don’t forget to smash the clap button. Have an <em>animated</em> day ahead! 😃</p><p><a href="https://www.twitter.com/FlutterComm">JavaScript is not available.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60f94a2ce09c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/flutter-community/introducing-motion-widget-in-flutter-60f94a2ce09c">Introducing Motion Widget in Flutter</a> was originally published in <a href="https://medium.com/flutter-community">Flutter Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Robust API structure for Flutter]]></title>
            <link>https://medium.com/flutter-community/robust-api-structure-for-flutter-7251c0b3180f?source=rss-e045ca98c2e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7251c0b3180f</guid>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[livedata]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Sumeet Rukeja]]></dc:creator>
            <pubDate>Sun, 15 Dec 2019 20:14:36 GMT</pubDate>
            <atom:updated>2019-12-15T20:14:36.306Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*UB-m-9TTmEdVYqez5kuFlg.png" /></figure><p>Hello, Flutter birds! When your app starts to expand, do you ever struggle to keep control on the network(API) architecture of your project?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*bvLpFJoeAbaXFJXMh5tzwA.gif" /></figure><p>I often used to get entangled into problems before I came up with a sturdy solution. I’m writing this article to share the solution with the beautiful community.</p><h4>Why do we need it?</h4><p>Before we get into it, let’s talk about <strong>FutureBuilder</strong>. It’s a handy widget to deal with API calls. It triggers an event after API returns the result. But in some cases, it can be overwhelming to work with it. If this pattern is not generalized, it increases code redundancy when it comes to error handling.</p><p>I, being an Android developer, am a huge fan of a concept called “LiveData”. One of its features is to trigger an event when any data is set into it. I’ve tried replicating this feature in Flutter which is the sole of this structure. I call it <strong>Observable</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/85573dd7d24c2087c56524d5f6599b1a/href">https://medium.com/media/85573dd7d24c2087c56524d5f6599b1a/href</a></iframe><h4>Control flow</h4><p>The main aim of this structure is to have a generalized and modular pattern. The following image shows the blueprint of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*6P7OvFUkwD1P6Em7ajY6uA.png" /></figure><h4>Network layer</h4><p>I’ve used <a href="https://pub.dev/packages/dio">Dio</a> library to work with APIs. It has features to set time outs, handle API cancellation, get upload progress and much more.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/13cc2f9ed8c035bb3dcbb42da301d465/href">https://medium.com/media/13cc2f9ed8c035bb3dcbb42da301d465/href</a></iframe><p>This is basically an API helper class which configures Dio and has all the basic tools to execute a network request. Dio’s <em>CancelToken</em>, which is used to cancel API requests, is initialized here. If you need to avoid direct communication with this class and want to have an abstraction layer on it, you can make a util class for it as I’ve done here.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/740f02a1319d94b917e35845b2ad75b3/href">https://medium.com/media/740f02a1319d94b917e35845b2ad75b3/href</a></iframe><p>This class is used to declare all the APIs that will be used in the app. As seen in the above gist, I’ve created a get request using <a href="https://jsonplaceholder.typicode.com/">JSONPlaceholder</a>.</p><h3>Base classes</h3><p>To have a generalized structure, one must have base classes in architecture. We’ll use a base class for each module in the structure i.e. Screen, Model, and Repository.</p><h4>Base Repository</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7930c6c972e90e109a5623cd2debafb1/href">https://medium.com/media/7930c6c972e90e109a5623cd2debafb1/href</a></iframe><p>The repository is used to communicate with data sources. A single instance for ApiUtil is created here. To have a singleton pattern, I’ve used <a href="https://pub.dev/packages/get_it">GetIt </a>library. All the API exceptions are first caught in BaseRepo and then they are redirected to respective screen.</p><h4>Base Model</h4><p>Model is something that will create a communication bridge between screen and repository.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/562b41979414e845f32d071888b07b79/href">https://medium.com/media/562b41979414e845f32d071888b07b79/href</a></iframe><p>It has an observable which will observe the API errors and will deliver events to screen for further processing.</p><h4>Base Screen</h4><p>Base Screen is similar to Base Activity in Android. It acts as a parent for all the screens of the app. The main aim of this class in our case is to process API errors and to manage API cancellations when the screen gets unmounted.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f242841dd095daefba42a65d44a38563/href">https://medium.com/media/f242841dd095daefba42a65d44a38563/href</a></iframe><h4>Connecting the dots</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*ehLb0Xof4p-Uj9lcX8qRjA.gif" /></figure><p>Now, as we are clear with all the components of the structure, let’s call the API from our screen.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f1272a48b23104ba570c2468eb81b9cc/href">https://medium.com/media/f1272a48b23104ba570c2468eb81b9cc/href</a></iframe><p>This is an example of a screen. We have created an instance of a model class for this screen which provides us with a method to call the API and a data observer. <strong>We are observing API data in the </strong><strong><em>initState()</em> method</strong> which can further be handled based on requirements. API is being called on a button press.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7b7b5a2f1b0c5b7afedc5024d95b45e/href">https://medium.com/media/e7b7b5a2f1b0c5b7afedc5024d95b45e/href</a></iframe><p>This is the model class whose instance was created on the screen. It has a repository object to communicate with the repository of the screen which further will handle our API call.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/64b7f1dec9b9005568f649f1e0c82592/href">https://medium.com/media/64b7f1dec9b9005568f649f1e0c82592/href</a></iframe><p>This is pretty much the final part of our puzzle. The model calls the method getData() with ApiError observer to wire up the entire circuit. (ApiError can be any custom object which consists of data needed when API winds up in an error)</p><blockquote>We can also pass request code for an API call, if needed. This circles back when handling errors and helps us to identify the API which threw error to take actions accordingly.</blockquote><p><em>Let’s suppose that we need to show a Snackbar in case of an error for all the APIs of the app.</em><strong><em> We just need to add code in one place. Isn’t it a real time-saver?</em></strong></p><p>This architecture is inspired by <em>Android’s MVVM pattern</em> and it fits for Flutter too. Using this, the app can easily be scaled to its massive form keeping the code cleaner, readable and spaghetti-free!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*GRfQP4XlrUNRW20WoxvHaQ.gif" /></figure><p>And, not only for API calls, this structure can be used as the basic building block for your app which divides your app into neater modules to work with.</p><p>Here’s my <a href="https://github.com/smokelaboratory/flutter_api_structure">git repository</a> consisting of a demo project for you to explore. I hope you enjoyed reading the article and grabbed something from it. Also, if you’ve any suggestions or ideas to make this structure more stable, please feel free to drop a comment and we can discuss it.</p><p>That’s all for now. See you later, folks!</p><p>Happy Flutter-ing :)</p><p><a href="https://www.twitter.com/FlutterComm">JavaScript is not available.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7251c0b3180f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/flutter-community/robust-api-structure-for-flutter-7251c0b3180f">Robust API structure for Flutter</a> was originally published in <a href="https://medium.com/flutter-community">Flutter Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Revamped” Flutter Bottom Sheet]]></title>
            <link>https://medium.com/flutter-community/revamped-flutter-bottom-sheet-61662dc2983?source=rss-e045ca98c2e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/61662dc2983</guid>
            <category><![CDATA[customization]]></category>
            <category><![CDATA[bottomsheet]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[actionsheet]]></category>
            <dc:creator><![CDATA[Sumeet Rukeja]]></dc:creator>
            <pubDate>Mon, 29 Jul 2019 17:42:07 GMT</pubDate>
            <atom:updated>2019-07-29T17:42:07.529Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vN6q2b7B-kW_tnUxlu01Kg.png" /></figure><p>It’s hard to believe if anyone has developed a general-purpose app, an e-commerce app for instance, and haven’t used a bottom sheet(action sheet, in case of iOS).</p><p>It is a very important component when it comes to getting inputs from users in various scenarios. Whether it’s about media-pick options or country selection, bottom sheets provide a UX-friendly approach.</p><p>Flutter too has a built-in component for using bottom sheets. But, unfortunately, there are glitches to deal with while using it.</p><ul><li>setState() has no effect on the StatefulWidget used for bottom sheet</li><li>Sheets dismiss after clicking their bodies</li></ul><p>to name a few.</p><p>This is what inspired me to twist the default code. And, while we’re at it, <em>why not customize and make it appear from the top too</em>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*e25J1GGdvlR-5v64XqIk4w.gif" /></figure><p>Before getting our hands dirty with the code, let’s have a look at what we are getting ourselves into.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*J916YXLRY1m_buB5Veku8w.gif" /></figure><p>So, in order to have complete control over it, I decided to build a screen with a StatefulWidget and make it behave like a bottom sheet. Basically, a bottom sheet has 3 features:</p><ul><li><em>A translucent background</em></li><li><em>Pull-up and push-down animations</em></li><li><em>Gesture control</em></li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d00f3edc41708f340e50d91529d9633d/href">https://medium.com/media/d00f3edc41708f340e50d91529d9633d/href</a></iframe><p>This is the build method of the StatefulWidget that makes it look and behave like a bottom sheet.</p><p>Let’s divide it into parts to understand how it overcomes most of the bottom sheet’s limitations and how it proves to be a <strong><em>bottom sheet on elixir</em></strong>.</p><h4>Managing background</h4><pre>Scaffold(<br>  backgroundColor: <strong>widget</strong>.<strong>backgroundColor<br>);</strong></pre><p>We can provide any color to Scaffold `s background and it will get converted into its translucent version. (Scaffold does it by itself)</p><h4>Adding animations</h4><pre><strong>_animation </strong>= Tween&lt;double&gt;(begin: _isDirectionTop() ? -1 : 1, end: 0).animate(<strong>_animationController</strong>);</pre><p>I used basic Tween animation controls to transform the body in an up-down direction. Here, I have used -1 to 0 in case of popping the bottom sheet in top.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c83ded728dca060afbdb612c1bb571a/href">https://medium.com/media/4c83ded728dca060afbdb612c1bb571a/href</a></iframe><p>Matrix4.translationValues animates the height of the body based on animation value.</p><pre>GestureDetector(<br>    behavior: HitTestBehavior.<strong>opaque</strong>,<br>    onTap: () {},<br>    child: <strong>widget</strong>.<strong>child</strong>)</pre><p><em>This code, wrapping the body, is used to deal with the issue that dismisses the sheet even when tapping on its body.</em></p><h4>Handling gestures</h4><p>Being a beginner in Flutter, especially in animations, this was challenging for me. I dived into flutter’s default bottom sheet code and tweaked it a little in order to handle top-popup scenario as well.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ab9c68d14523a72bf4e470f6bfe4103/href">https://medium.com/media/4ab9c68d14523a72bf4e470f6bfe4103/href</a></iframe><p>These 2 methods are where the magic of gesture resides.<em> These are used to manage fling animations and taps outside sheet’s body</em>. I’ve used these in a GestureDetector which wraps the Scaffold.</p><pre>GestureDetector(<br>  onVerticalDragUpdate: <strong>_handleDragUpdate</strong>,<br>  onVerticalDragEnd: <strong>_handleDragEnd</strong>,<br>  child: Scaffold(...)<br>);</pre><p>We’re almost done with the customization except for one thing: Android’s back press event. When the user taps the device’s back key, we need to reverse the animation of the sheet.</p><pre>WillPopScope(<br>    onWillPop: onBackPressed,<br>    child:...<br>);</pre><p>This is handled using WillPopScope.</p><pre>Future&lt;bool&gt; onBackPressed() {<br>  <strong>_animationController</strong>.reverse();<br>  <strong>return </strong>Future&lt;bool&gt;.value(<strong>false</strong>);<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*0tZIrdd1zl5GI_ETWBoG_w.gif" /></figure><p>And we’re done. A big advantage of using this modified sheet is to have great room for more customization. Feel free to check out my <a href="https://github.com/yudiz-solutions/yudiz_modal_sheet">GitHub repository</a> to explore the demo I prepared.</p><p>Happy Flutter-ing!</p><p><a href="https://www.twitter.com/FlutterComm">JavaScript is not available.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61662dc2983" width="1" height="1" alt=""><hr><p><a href="https://medium.com/flutter-community/revamped-flutter-bottom-sheet-61662dc2983">“Revamped” Flutter Bottom Sheet</a> was originally published in <a href="https://medium.com/flutter-community">Flutter Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>