<?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[Android Club - Medium]]></title>
        <description><![CDATA[It’s the place where Android Engineers and enthusiasts share their knowledge and experience. You will always find in our stories something useful for boosting your knowledge on Android. - Medium]]></description>
        <link>https://medium.com/android-club?source=rss----67f1cb490763---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Android Club - Medium</title>
            <link>https://medium.com/android-club?source=rss----67f1cb490763---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:42:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/android-club" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Store data securely — EncryptedSharedPreferences]]></title>
            <link>https://medium.com/android-club/store-data-securely-encryptedsharedpreferences-bff71ac39a55?source=rss----67f1cb490763---4</link>
            <guid isPermaLink="false">https://medium.com/p/bff71ac39a55</guid>
            <category><![CDATA[sharedpreferences]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[keystore]]></category>
            <dc:creator><![CDATA[Leonid Ustenko]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 21:35:55 GMT</pubDate>
            <atom:updated>2021-02-02T21:35:55.489Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SorlnLhRt7fwUXW8-yG7Jg.jpeg" /><figcaption>A picture from my trip to Puerto Rico, USA</figcaption></figure><h3>Store data securely — EncryptedSharedPreferences</h3><p>It’s not a secret that SharedPreferences is not a secure place to store sensitive data because the data is saved in simple key-value pairs in an XML file.</p><p>In some cases, it can easily be hijacked. For instance, if you saved some confidential info in SharedPreferences, on a rooted device it can easily be accessed through a regular file manager.</p><p>So, how to store sensitive data securely?</p><p>Some possible ways are to use Android Keystore, Android KeyStore Provider, or the KeyChain API. It will let you store encrypted data. They serve slightly different purposes but have a common drawback — <strong>implementation is quite complex</strong>. That’s why many entry and medium level Android developers even don’t start using it and end up with regular SharedPreferences. As a result, in many apps data is stored not securely.</p><blockquote><strong>A short comparison:</strong></blockquote><blockquote><a href="https://developer.android.com/reference/java/security/KeyStore">Android KeyStore</a> (Since API 1). You will have to create a KeyStore file and manage the secret to access it by yourself. This secret is very sensitive and difficult to hide from attackers.</blockquote><blockquote><a href="https://developer.android.com/training/articles/keystore">Android KeyStore Provider</a> (Since API 18). You delegate managing the file and secret to Android System. You don’t need to use any password since the OS itself will store it deriving from your lock screen PIN code, password, pattern, and other variables.</blockquote><blockquote><a href="https://developer.android.com/reference/android/security/KeyChain">KeyChain</a> API (Since API 14) is needed when you need system-wide credentials. This allows several apps to use the same set of credentials with user consent.</blockquote><h3><strong>Is there an easier way?</strong></h3><p>Yes, it is. Here is when <a href="https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences">EncryptedSharedPreferences</a> comes to play. It comes as a part of JatPack library in androidx.security.crypto package.</p><h3><strong>What’s cool about it?</strong></h3><ul><li>Stores keys and values securely (Uses Android KeyStore under the hood).</li><li>Implements SharedPreferences interface. Thus, can be used as regular SharedPreferences and requires very little developer’s efforts.</li><li>Doesn’t require the user to set a lockscreen. Will work just as good without it.</li></ul><h3><strong>Any limitations?</strong></h3><ul><li>Available since Api 23 for now. But it is very likely that as low as API 21 will be supported in the nearest versions.</li><li>Slower than regular (not encrypted) SharedPreferences.</li></ul><h3><strong>How to implement?</strong></h3><p><strong>1. Include the Security library in your project.</strong> Add the dependency to your app module’s build.gradle file:</p><pre>dependencies {<br>    implementation &quot;androidx.security:security-crypto:1.0.0-rc04&quot;<br>}</pre><p><strong>2. Create the instance of Encrypted SharedPreferences.</strong></p><p>We will use the default constructor:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3bb31590ef862804c7b0e06aa59ad5b0/href">https://medium.com/media/3bb31590ef862804c7b0e06aa59ad5b0/href</a></iframe><p>A few points to note here in addition to the JavaDoc:</p><p><em>fileName</em> — the name of the file where you want to store encrypted data, for instance enctypted_storage.txt</p><p><em>masterKey</em> — The master key used for the encryption. As suggested in <a href="https://developer.android.com/topic/security/data">documentation</a>, we are advised to use the key with AES256_GCM scheme:</p><pre>// Although you can define your own key generation parameter specification, it’s<br>// recommended that you use the value specified here.<br>val mainKey = MasterKey.Builder(applicationContext)<br> .setKeyScheme(MasterKey.KeyScheme.AES256_GCM)<br> .build()</pre><p>So, finally, initialization might be done with this function:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a3fce7be02bc4254fd1c889c3f474297/href">https://medium.com/media/a3fce7be02bc4254fd1c889c3f474297/href</a></iframe><p>Where file name is just:</p><pre>private const val ENCRYPTED_PREFS_FILE = &quot;encrypted_storage.txt&quot;</pre><blockquote>Note, initialization of this function may take a while (25–100 mills depending on a device) so it’s advised to create it off the Main Thread.</blockquote><p><strong>3. Read and write values</strong></p><p>Firstly, we will lazily initialize the EncryptedSharedPreferences instance:</p><pre>private val sharedPrefs by <em>lazy </em><strong>{ </strong>createSharedPreferences() <strong>}</strong></pre><p>And you are good to go. Use it as regular SharedPrefeferences.</p><p>For instance, a String can be written as:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5875b388d6bd3fc2c5c479eb6ce10c53/href">https://medium.com/media/5875b388d6bd3fc2c5c479eb6ce10c53/href</a></iframe><p>And can be read as:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6ad44c4c48f6288a910ef5966f28d79a/href">https://medium.com/media/6ad44c4c48f6288a910ef5966f28d79a/href</a></iframe><blockquote>Once again, you should call read/write functions on a worker thread.</blockquote><p>That’s it. Your keys and values are encrypted. <strong>Now it’s your turn, give it a try in your project!</strong></p><p><em>Do you wonder, how to implement a convenient SharedPreferences storage in your app? Check out one of my future articles where we will explore it in detail.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bff71ac39a55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/android-club/store-data-securely-encryptedsharedpreferences-bff71ac39a55">Store data securely — EncryptedSharedPreferences</a> was originally published in <a href="https://medium.com/android-club">Android Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firebase Remote Config in an Android app]]></title>
            <link>https://medium.com/android-club/firebase-remote-config-in-an-android-app-89687a78e367?source=rss----67f1cb490763---4</link>
            <guid isPermaLink="false">https://medium.com/p/89687a78e367</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[Leonid Ustenko]]></dc:creator>
            <pubDate>Tue, 20 Oct 2020 08:33:18 GMT</pubDate>
            <atom:updated>2020-10-20T08:33:18.594Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="A picture from my trip to Honolulu, Hawaii" src="https://cdn-images-1.medium.com/max/1024/1*Ml1c88Rcp1VuktBxDc3xHg.jpeg" /><figcaption>A picture from my trip to Honolulu, Hawaii</figcaption></figure><p><em>In this article, we will discuss the advantages, use cases, and tips on the usage of the Firebase Remote Config.</em></p><p><strong>What is it for</strong></p><p>Actually, it’s pretty straightforward. Firebase remote config provides you handy out of the box solution for your app remote configuration. In simple words it does the following: <br>1. You set certain parameters and values in the Firebase console.<br>2. You read them in your app <br>3. You change your app’s behavior depending on received values.</p><p><strong>Advantages</strong></p><ul><li>Completely free out-of-the-box solution</li><li>Easy to setup</li><li>Supports multiple platforms (Android/iOS/WEB)</li><li>Convenient console</li><li>Once fetched, the config is being cached in persistent storage on the device</li><li>Supports setting default values</li><li>Can easily be used for A/B tests (check it out in my next article)</li><li>Very flexible in settings different values for different conditions (by build type, country, user’s language, app version, etc.)</li></ul><p><strong>Limitations</strong></p><ul><li>It’s not intended to be used in real-time. If you change a value in the console — it will take some time for your app to update the config. We will discuss later on how to decrease it or to make it even real-time</li><li>It may not be available right away (you need to set the default values and stick to certain loading strategy)</li><li>It may not be available at all in some countries, such as China, where Google services are very limited</li><li>Is not suitable for storing confidential data</li><li>You can have up to 2000 parameters. Parameter keys can be up to 256 characters long, must start with an underscore or (A-Z, a-z), and may also include numbers</li><li>You may have up to 500 conditions</li><li>The total length of parameter value strings within a project cannot exceed 800,000 characters</li></ul><p><strong>Use Cases</strong></p><ul><li>Feature flag (feature-toggle). <br>When you develop a new feature and want to protect your users from possible critical issues. In simple words, in your code you do something like:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ba6273152c0717cff2ef011ed9314ff5/href">https://medium.com/media/ba6273152c0717cff2ef011ed9314ff5/href</a></iframe><p>And this Boolean flag you read from the config.<br>So it lets you test new functionality on a limited testing group. Enable for the rest of users in case of successful testing or disable for all the users in case of any issues.</p><ul><li>Different values for different conditions for the A/B test (check out the details in my next article on A/B tests). For instance, it can be as simple as setting a button color, which will be different for different users, as well as an advanced solution with changing the entire UI and the app behavior.</li><li>Setting configuration parameters, hosts, and URLs. It gives you the flexibility to change it in case your server has changed or your host was blocked in a certain country.</li><li>Pass any JSON object. Do everything you want with it.</li></ul><p><strong>Integrate it into your app</strong></p><ol><li><a href="https://firebase.google.com/docs/android/setup">Add Firebase to your Android project</a></li><li>Add the dependencies to your “app” build.gradle:</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f633403a598aa0e03d0465c6bdda82c/href">https://medium.com/media/3f633403a598aa0e03d0465c6bdda82c/href</a></iframe><p>3. Sync Android Studio project.</p><p><strong>Fetch the remote config</strong></p><p>In order to get the fresh values from remote you need 2 steps:<br>1. Fetch the config.<br>2. Activate it (make freshly loaded one available for you)</p><p>It can be done in various ways by following different strategies. <br>One simple way can be to do both these steps on the app launch.<br>For instance, you may do it in your Application class.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/115381ac1debdf7424c6187289df647a/href">https://medium.com/media/115381ac1debdf7424c6187289df647a/href</a></iframe><p>Also, there are other fetching strategies, such as activate behind the loading screens or load new values for the next startup.<br>Get to know the loading strategies here: <a href="https://firebase.google.com/docs/remote-config/loading">https://firebase.google.com/docs/remote-config/loading</a></p><p><em>Note, it’s not recommended to fetch the remote config too often (consider not more often than 5 times in 60 minutes), otherwise, your requests might be throttled and API will fail with an exception </em><strong><em>FirebaseRemoteConfigFetchThrottledException</em></strong><em>.</em></p><p><strong>I want it to be real-time</strong></p><p>By the way, there is a way to make Remote Config <strong>nearly real-time </strong>with the use of firebase functions and FCM.</p><p>Check it out <a href="https://firebase.google.com/docs/remote-config/propagate-updates-realtime">here</a>.</p><p><strong>Set a key-value in Firebase console</strong></p><ol><li>Go ahead to <a href="https://console.firebase.google.com/">https://console.firebase.google.com/</a> <br>and select the needed project.</li></ol><p>2. Select the “Remote config” in the menu on the right (under the “Grow” section).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*3mPtgPYq8VKa45DMHlAEEg.png" /></figure><p>3. Press “Add a parameter”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k2DsLrZQaadB7FCDjhy98Q.png" /></figure><p>Create it and confirm adding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RSaRQlWj-n1NuqTW9YfV-A.png" /></figure><p>Here we created a new parameter, which key is “some_cool_parameter” and the value is “What’s up, guys?”. <br>The value is String by default but can be Boolean, Long, Double as well.</p><p>4. Not forget to publish changes when you do any changes by clicking the corresponding button on the top right</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*xVQjHGvZu-BbI-gxKYB-9w.png" /></figure><p><strong>Read values in the app. A simple and raw way</strong></p><p>Actually, now you can read value as simple as that:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/84f99a7bbec55a92fdf760ebb3372a53/href">https://medium.com/media/84f99a7bbec55a92fdf760ebb3372a53/href</a></iframe><p>You are free to call it synchronously, no background calls are needed.</p><p><strong>Read values in the app. A better approach</strong></p><p>The approach above looks quite straightforward, but it will bring you a lot of limitations as your project grows and you start using more complex objects as values.<br>Let’s see how to decouple and improve it.</p><ol><li>Create an API for getting any data from the Remote Config:</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/22cb9aff36402d6f1bf07d3e4aafbed1/href">https://medium.com/media/22cb9aff36402d6f1bf07d3e4aafbed1/href</a></iframe><p>It lets us encapsulate communication with Firebase Remote Config.<br>Here we just get a value of concrete type.</p><p>2. Create a remote config manager implementation. It will be responsible for communication with Firebase and encapsulate all the related logic under the hood:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/454e82ccf1d046f0c17807b80b694bcd/href">https://medium.com/media/454e82ccf1d046f0c17807b80b694bcd/href</a></iframe><p>3. let’s use an enum for convenient dealing with the parameter names, specified in the console:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e069467e35feeb60ba571c47ad78103/href">https://medium.com/media/0e069467e35feeb60ba571c47ad78103/href</a></iframe><p>We will add new values here as we add new parameters to the config.</p><p>4. Create a utility function that will be used to read data of any type and cast it accordingly (including parsing string JSON into an entity).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/be1885a2d3d7c3ae68d445a7cd88e181/href">https://medium.com/media/be1885a2d3d7c3ae68d445a7cd88e181/href</a></iframe><p>While this solution works fine with JSON String in case of missing values (you will get null), you should be aware of how the Remote Config deals with missing values.</p><p>For instance, if you take a look at the source code of getDouble() method:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/912e41c3e07482f8cda0c8b324c14398/href">https://medium.com/media/912e41c3e07482f8cda0c8b324c14398/href</a></iframe><p>You will see that it does the following:</p><ul><li>Tries to get value from the cache and returns it if it is present.</li><li>Tries to get the default value if it is present.</li><li>Returns 0.0D in case value is missing.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/46043d3e9469d98e07629402fdcb5a92/href">https://medium.com/media/46043d3e9469d98e07629402fdcb5a92/href</a></iframe><p>So make sure to either supply the default values or be ready to handle 0.0D.</p><p>5. We are good to go. <br>Now we can implement reading the value as following, what is much better:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/895e48b29cabf8f62398b7bb042269ba/href">https://medium.com/media/895e48b29cabf8f62398b7bb042269ba/href</a></iframe><p>6. Let’s make it a little better with another extension function. It will let us avoid passing the return type class.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a737afcf862952e80315dce7bb1bf9e/href">https://medium.com/media/6a737afcf862952e80315dce7bb1bf9e/href</a></iframe><p>With it, our function, which reads the value from Firebase config will look as simple as:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f9f751f5c85aecebe724949a11e262af/href">https://medium.com/media/f9f751f5c85aecebe724949a11e262af/href</a></iframe><p>And our RemoteConfigManager looks like this now:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cd1243be256309cf81823470446ce7e3/href">https://medium.com/media/cd1243be256309cf81823470446ce7e3/href</a></iframe><p><em>Not forget of the utility extension function:</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3ca409982c932b17ff2dbf4451840d64/href">https://medium.com/media/3ca409982c932b17ff2dbf4451840d64/href</a></iframe><p><strong>Now it is also pretty easy to read JSON and parse into an entity.</strong></p><p>Let’s see how it works.</p><p>Imagine, you want to take control over an ad banner. You want to set banner id remotely and have a chance to enable/disable it.</p><ol><li>Create an entity:</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9ca396b44310735ee621582c652ade8a/href">https://medium.com/media/9ca396b44310735ee621582c652ade8a/href</a></iframe><p>2. Add a new method to IRemoteConfigApi</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c635a0eec18acfd88f2975f7e24ad723/href">https://medium.com/media/c635a0eec18acfd88f2975f7e24ad723/href</a></iframe><p>3. Add a new key to the ConfigParam</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a29d56825c333d651a6aacf6d86801d4/href">https://medium.com/media/a29d56825c333d651a6aacf6d86801d4/href</a></iframe><p>4. Implement getBannerData() method that will read from the remote config.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0999a6107df1f794c47f79abd8ac5540/href">https://medium.com/media/0999a6107df1f794c47f79abd8ac5540/href</a></iframe><p><em>Not forget to manage the default value</em></p><p>5. Add a new parameter in the remote config and set value.</p><p>Go to the Firebase console and add a new parameter that matches ConfigParam.BANNER_DATA and set value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ngt86P-sJgBHJD-if3vp0Q.png" /></figure><p>Press this button to enter the JSON editor mode</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayzxHXVYSErsk4unAt1Glw.png" /></figure><p>Create a corresponding JSON structure, press ‘Save’ and ‘Publish changes’</p><p>6. Here you are! In your app, you can retrieve banner data as:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/32592d2ef89603712a2c42cd08e3d1fa/href">https://medium.com/media/32592d2ef89603712a2c42cd08e3d1fa/href</a></iframe><p><em>Note, in this example, I am using Dagger for dependence injection. This class is annotated as Singleton hence config will be initialized at the app start time. If you use another approach make sure to perform fetch and activate fetched values.</em></p><p><strong>Different values for different conditions</strong></p><p>In the last chapter, we learned how to add the configuration for the ad banner.</p><p>What if we decide to show different banner ids for different users? Or you want to hide the banner for debug build or to set testing banner ID in order not to be banned by the ad provider? It is so easy now. Let’s see how.</p><ol><li>Select the needed parameter and press “Add value for condition”.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c755fB8IdWf63KbvJHV6AQ.png" /></figure><p>2. Select a condition which you have defined before or press “Define new condition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xA1gvbWOjDsgmjVuGcPcWw.png" /></figure><p>3. Set name, select the app, color and play around with the conditions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tnylcdgULu3qVee1l61LBg.png" /></figure><p>In this example, I created a new condition that matches my production app with version 1.5.1.</p><p>You may combine various conditions and even use audiences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w5q_p-QiS7HV-1H9HwRw-g.png" /></figure><p>4. Set different value for the new condition</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqVPHJRiXsV56ZKmT-cLGA.png" /></figure><p>So all the prod users with app version 1.5.1 will see the banner with the different id.</p><p><strong>Some tips</strong></p><ol><li>If you define several conditions which contradict each other, Firebase goes from top to bottom and picks the first one that matches.</li><li>You may manage (add/edit/delete) all the conditions in one place</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fAyYQybQK26gAvyh6dDtDQ.png" /></figure><p>3. You may group several parameters in folders:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bRnVbfUaLfCuQ-9OhQOoVA.png" /></figure><p>4. You may review change history and easily rollback changes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JQZJcFL22Ek2_LK9dDdX_g.png" /></figure><p><strong>Conclusion</strong></p><p>In this article, we reviewed Firebase Remote Config pros and cons and some of the popular use cases. We learned how to add it into an Android app, set value from a console, and read it in a simple way or encapsulate logic with an extra level of abstraction.</p><p><strong><em>In the next article, we may review how to automate the loading of the default values during build time and how to integrate it into your CI. Let me know if you are interested.</em></strong></p><p>Thank you for your attention. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89687a78e367" width="1" height="1" alt=""><hr><p><a href="https://medium.com/android-club/firebase-remote-config-in-an-android-app-89687a78e367">Firebase Remote Config in an Android app</a> was originally published in <a href="https://medium.com/android-club">Android Club</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>