<?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 Shiv Shankar Tiwari on Medium]]></title>
        <description><![CDATA[Stories by Shiv Shankar Tiwari on Medium]]></description>
        <link>https://medium.com/@pythonsst?source=rss-f60c1828931f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ObqHMLDrrl1-TnjJ</url>
            <title>Stories by Shiv Shankar Tiwari on Medium</title>
            <link>https://medium.com/@pythonsst?source=rss-f60c1828931f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 04:16:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pythonsst/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[CI/CD magic to Android.]]></title>
            <link>https://medium.com/@pythonsst/ci-cd-magic-to-android-828f928d7d35?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/828f928d7d35</guid>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Sat, 07 Feb 2026 00:00:52 GMT</pubDate>
            <atom:updated>2026-02-07T00:00:52.815Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong><em>Haven’t set up product flavors yet?</em></strong><em><br> 👉 </em><a href="https://medium.com/@shiv.tiwari_49812/how-to-spice-up-your-react-native-app-with-product-flavors-8d476b2f5830"><em>How to Spice Up Your React Native App with Product Flavors</em></a></blockquote><p>Let’s tackle the tricky part first — once Android is sorted, iOS will feel like a walk in the park.</p><p>📌 <strong>Heads-up:</strong> On Android, you need to manually create the app in the Play Console the first time. Yes, manually — no shortcuts here.</p><p>Take a deep breath, open up Google Play Console, and create your app. You can use your company’s account or your personal one — whichever works.</p><p>👉 Pro tip: If you’re using a company account, make sure you have <strong>Admin access</strong>. Not Manager, not Viewer — <strong><em>Admin</em></strong>. Trust me, getting blocked by mysterious permission errors for days is not the kind of suspense you want in your life.</p><p>If your app doesn’t need multiple environments, feel free to skip the flavor dance — one flavor is totally fine.</p><h3>🛠️ Step 1: Install Fastlane</h3><pre>brew install fastlane</pre><p>Verify:</p><pre>fastlane --version</pre><h3>🚀 Step 2: Initialize Fastlane in Android</h3><pre>cd android<br>fastlane init</pre><p>1-: Package Name (com.krausefx.app): <strong>com.validus.ignitekit</strong><br>2-: Path to the json secret <a href="https://docs.fastlane.tools/actions/supply/">file</a>:</p><p><a href="https://docs.fastlane.tools/actions/supply/">https://docs.fastlane.tools/actions/supply/</a></p><p>Let’s download json file first if you have done it skip this step:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*cphcFK2dj19b9r5fowE0jA.png" /></figure><p>Keep your coffee ready, and with fresh mind let’s do it dont’ skip any thing..</p><p>1- Creat Google Cloud Project:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9BqTBzSM8DseTHmgp_O1Kg.png" /><figcaption><strong>I select my ReactNativeIgniteKit</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RB4u_zYeef8wKy0Y5SigbQ.png" /></figure><p>2-Select<strong> API &amp; Services</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWK0M8ZG-yrzJIiWz1u4_A.png" /></figure><p><strong>Enable APIs and services</strong></p><p>Search for <strong>Google Play Android Developer API</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lg9HZfi4MF35Voar9w6aSA.png" /></figure><p>Click and Enable this API.</p><p>3- <strong>Create Service Account</strong></p><p>Click on IAM and admin</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*mmigmdRLsL6Flik0wB7n_A.png" /></figure><p>please follow this they have written better: <a href="https://docs.fastlane.tools/actions/supply/">https://docs.fastlane.tools/actions/supply/</a></p><p>once done:</p><p>now what I’m going to do as I don’t wnat to create 4 apps ( dev staging prodcuction etc) so in one app I’m going to handle all my flavors</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=828f928d7d35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interview moment I won’t forget]]></title>
            <link>https://medium.com/@pythonsst/interview-moment-i-wont-forget-626756b7ef9a?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/626756b7ef9a</guid>
            <category><![CDATA[flashlist]]></category>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Thu, 15 Jan 2026 14:55:18 GMT</pubDate>
            <atom:updated>2026-01-15T15:18:59.065Z</atom:updated>
            <content:encoded><![CDATA[<p>𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄𝗲𝗿:</p><p>Have you worked with FlashList? It’s very popular.</p><p>𝗠𝗲 (𝗻𝗲𝗿𝘃𝗼𝘂𝘀):</p><p>I opened my mouth and said, <strong>No.</strong></p><p>There was a brief pause — the kind where your brain realizes your mouth moved faster than your thoughts.</p><p>I tried to recover and added,</p><p>But if needed, we can build something better.</p><p>𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄𝗲𝗿 (𝗹𝗮𝘂𝗴𝗵𝘀):</p><p>They’ve been working on that list for 5+ years.</p><p>𝗠𝗲:</p><p>Yeah, I agree — but depending on the requirements, we still can.</p><p>𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄𝗲𝗿:</p><p>Leave it. Next question.</p><p>I was nervous.</p><p>I felt stupid.</p><p>Didn’t clear the interview.</p><p>That moment stayed with me.</p><p>So instead of replaying it in my head, I went and built my own list.</p><p>Meet 𝗧𝗲𝗷𝗮𝘀𝗟𝗶𝘀𝘁 — built completely on the 𝗻𝗮𝘁𝗶𝘃𝗲 𝘀𝗶𝗱𝗲 using 𝗡𝗶𝘁𝗿𝗼 𝗠𝗼𝗱𝘂𝗹𝗲𝘀.</p><p>𝗧𝗲𝘀𝘁: 10K items, fast scroll</p><p>𝗙𝗹𝗮𝘀𝗵𝗟𝗶𝘀𝘁 → FPS jumps, occasional white screens, RAM crosses 200MB</p><p>𝗧𝗲𝗷𝗮𝘀𝗟𝗶𝘀𝘁 → smooth scroll, no flicker, no blanks, RAM stays around 100MB</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCqedVtj-Pnw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCqedVtj-Pnw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCqedVtj-Pnw%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eddee42598640d7d8cc9cdaf81d8545c/href">https://medium.com/media/eddee42598640d7d8cc9cdaf81d8545c/href</a></iframe><p>𝗚𝗶𝘁𝗛𝘂𝗯:</p><p><a href="https://github.com/pythonsst/tejas-list">https://github.com/pythonsst/tejas-list</a></p><p>Didn’t win the interview.</p><p>But I definitely won my confidence back.</p><p>#ReactNative #ReactNativeDeveloper #MobilePerformance #NativeDevelopment #iOSDevelopment #SoftwareEngineering #OpenSource</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=626756b7ef9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SSL Public Key Pinning (SPKI) Guide for React Native]]></title>
            <link>https://medium.com/@pythonsst/ssl-public-key-pinning-spki-guide-for-react-native-46f0c3ce0c72?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/46f0c3ce0c72</guid>
            <category><![CDATA[ssl-certificate]]></category>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Fri, 31 Oct 2025 05:51:25 GMT</pubDate>
            <atom:updated>2025-10-31T05:51:25.602Z</atom:updated>
            <content:encoded><![CDATA[<h3>Long-term SSL pinning without expiry issues</h3><h3>Why we moved to SPKI Pinning</h3><p>Previously, we extracted the server certificate using:</p><pre>openssl s_client -connect &lt;domain&gt; ...</pre><p>But our SSL auto-renews every 60–90 days.<br> So the certificate fingerprint changes and apps break</p><h3>Solution: Public Key Pinning (SPKI)</h3><ul><li>Public key remains same even when certificate renews</li><li>No monthly updates required</li><li>Banking-grade security (used by UPI apps)</li></ul><h3>Step-by-Step Implementation</h3><h3>1️Extract SPKI Hash</h3><p>Run this command:</p><pre>openssl s_client -connect aifdev2.myvalidus.com:443 -servername aifdev2.myvalidus.com &lt;/dev/null 2&gt;/dev/null | \<br>openssl x509 -pubkey -noout | \<br>openssl pkey -pubin -outform DER | \<br>openssl dgst -sha256 -binary | openssl base64</pre><p>Output example:</p><pre>sha256/ABCxyz1234567890abcdefghijkLmnopqrstu=</pre><p>Copy and save this value — <strong>this is our SPKI pin</strong>.</p><h3>Android Setup (OkHttp)</h3><p>Create file:<br> android/app/src/main/java/com/&lt;yourapp&gt;/network/SslPinningClient.java</p><pre>package com.yourapp.network;</pre><pre>import okhttp3.CertificatePinner;<br>import okhttp3.OkHttpClient;</pre><pre>public class SslPinningClient {</pre><pre>    public static OkHttpClient get() {<br>        CertificatePinner certificatePinner = new CertificatePinner.Builder()<br>            .add(&quot;aifdev2.myvalidus.com&quot;, <br>                 &quot;sha256/ABCxyz1234567890abcdefghijkLmnopqrstu=&quot;)  // SPKI hash<br>            .build();</pre><pre>        return new OkHttpClient.Builder()<br>            .certificatePinner(certificatePinner)<br>            .build();<br>    }<br>}</pre><p>Inject in MainApplication.java:</p><pre>import com.yourapp.network.SslPinningClient;</pre><pre>OkHttpClient client = SslPinningClient.get();</pre><h3>iOS Setup</h3><p>Add this in AppDelegate.mm (or networking layer):</p><pre>static NSString *const kPinnedKeyHash = @&quot;sha256/ABCxyz1234567890abcdefghijkLmnopqrstu=&quot;;</pre><p>Add this delegate:</p><pre>- (void)URLSession:(NSURLSession *)session<br>didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge<br> completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler {</pre><pre>SecTrustRef serverTrust = challenge.protectionSpace.serverTrust;<br>SecKeyRef serverKey = SecTrustCopyKey(serverTrust);<br>NSData* publicKeyData = (__bridge_transfer NSData*)SecKeyCopyExternalRepresentation(serverKey, nil);<br>NSData* hashedKey = [self sha256:publicKeyData];</pre><pre>NSString *base64Key = [hashedKey base64EncodedStringWithOptions:0];</pre><pre>if ([base64Key isEqualToString:[kPinnedKeyHash stringByReplacingOccurrencesOfString:@&quot;sha256/&quot; withString:@&quot;&quot;]]) {<br>    completionHandler(NSURLSessionAuthChallengeUseCredential, [NSURLCredential credentialForTrust:serverTrust]);<br>} else {<br>    completionHandler(NSURLSessionAuthChallengeCancelAuthenticationChallenge, nil);<br>}<br>}</pre><h3>Testing</h3><p>TestExpectedValid pinApp worksModify one char in SPKI hashApp blocks network.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46f0c3ce0c72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Hermes Explained: How React Native Runs Your JavaScript]]></title>
            <link>https://medium.com/@pythonsst/hermes-explained-how-react-native-runs-your-javascript-3a90ce082e4b?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a90ce082e4b</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[hermes]]></category>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Tue, 30 Sep 2025 08:48:21 GMT</pubDate>
            <atom:updated>2025-09-30T08:48:21.805Z</atom:updated>
            <content:encoded><![CDATA[<p>When you build a React Native app, you’re writing JavaScript. But have you ever wondered:</p><p>👉 <em>How does that JavaScript actually run on your phone?</em><br>👉 <em>What makes React Native fast on low-end devices?</em></p><p>The answer is <strong>Hermes</strong> — a small but powerful JavaScript engine built by Meta, optimized for mobile.</p><p>In this article, let’s walk through Hermes step by step, like a guided tour from <strong>your source code</strong> all the way to <strong>native execution</strong>.</p><h3>🏗 Step 1: Your JavaScript Source</h3><p>You write code like this:</p><pre>let x = 2 + 3;<br>console.log(x);</pre><p>This is just plain text. To the computer, it means nothing yet. Hermes has to <em>understand</em> it first.</p><h3>🌳 Step 2: Parsing → AST</h3><p>Hermes first runs a <strong>parser</strong>. Think of a parser like a teacher breaking down a sentence into <strong>grammar tree</strong>.</p><p>Your code →</p><pre>Program<br> ├── VariableDeclaration (x = 2+3)<br> └── CallExpression (console.log(x))</pre><p>This tree is called an <strong>AST (Abstract Syntax Tree)</strong>.</p><h3>⚡ Step 3: Intermediate Representation (IR)</h3><p>The AST is still too detailed for optimization. Hermes converts it into <strong>IR (Intermediate Representation)</strong>, which looks like simple machine instructions:</p><pre>%1 = LoadConstInt 2<br>%2 = LoadConstInt 3<br>%3 = Add %1, %2<br>StoreGlobal x, %3<br>%4 = LoadGlobal &quot;console.log&quot;<br>Call %4, %3</pre><p>👉 Each line is like a Lego block. Easy to move around, optimize, or remove.</p><h3>🔧 Step 4: Optimizations</h3><p>Hermes runs optimization passes, like:</p><ul><li><strong>Constant folding</strong> → 2+3 becomes 5.</li><li><strong>Dead code removal</strong> → delete unused variables.</li><li><strong>Inlining</strong> → short functions expanded inline for speed.</li></ul><p>The result is faster, lighter IR.</p><h3>📦 Step 5: Bytecode (HBC)</h3><p>Now Hermes turns IR into <strong>Hermes Bytecode (HBC)</strong> — a super-compact format that’s easy for mobile devices to read.</p><p>Bytecode is like a <strong>recipe card</strong>: short, precise steps.</p><p>Example (hbcdump output):</p><pre>LoadConstInt   r0, 5<br>StoreGlobal    x, r0<br>LoadGlobal     r1, &quot;console.log&quot;<br>Call           r1, r0<br>Ret</pre><p>This is what ships with your React Native app instead of raw JS — smaller and faster!</p><h3>🖥 Step 6: Interpreter (Hermes VM)</h3><p>The <strong>Hermes VM</strong> is like a chef following the recipe. It:</p><ul><li>Reads bytecode instructions.</li><li>Executes them one by one.</li><li>Uses its own memory model (HermesValue).</li><li>Runs with <strong>Hades GC</strong> (a garbage collector with very short pauses, perfect for animations).</li></ul><h3>🌉 Step 7: JSI → Native</h3><p>Now, what about &lt;Text&gt;Hello&lt;/Text&gt; in React Native?</p><p>Hermes executes the JS code, then calls into <strong>JSI (JavaScript Interface)</strong>.<br> JSI is the bridge that connects Hermes → Native code.</p><p>So:</p><ul><li>JS says &lt;Text&gt;Hello&lt;/Text&gt;.</li><li>Hermes compiles &amp; executes.</li><li>JSI calls React Native’s <strong>Fabric Renderer</strong>.</li><li>On Android → a real TextView.</li><li>On iOS → a real UILabel.</li></ul><p>Your JavaScript becomes a real <strong>native app</strong>. 🎉</p><h3>♻️ Bonus: Garbage Collection</h3><p>Hermes uses <strong>Hades GC</strong>:</p><ul><li>Runs <strong>concurrently</strong> (alongside app code).</li><li>Keeps pauses super short.</li><li>Perfect for smooth 60fps animations.</li></ul><pre>Young Objects → collected quickly<br>Old Objects   → collected less often</pre><p>This balance makes Hermes memory-efficient.</p><h3>🛠 Running Hermes Yourself</h3><pre>git clone https://github.com/facebook/hermes.git<br>cd hermes<br>mkdir build &amp;&amp; cd build<br>cmake -S .. -B . -G Ninja -DCMAKE_BUILD_TYPE=Debug<br>cmake --build .</pre><p>Test it:</p><pre>echo &#39;print(&quot;Hello Hermes&quot;)&#39; &gt; hello.js<br>./bin/hermes hello.js</pre><h3>🎯 Why Hermes Matters</h3><ul><li>🚀 <strong>Faster startup</strong> (no JS parsing at runtime).</li><li>📦 <strong>Smaller apps</strong> (bytecode is compact).</li><li>🔋 <strong>Better on low-end devices</strong> (low memory footprint).</li><li>🌎 <strong>React Native default</strong> (since v0.69).</li></ul><h3>🔑 Key Takeaway</h3><p>Hermes isn’t just a JS engine. It’s the secret sauce that makes React Native <em>feel native</em>.</p><p>Your JS → AST → IR → Optimized → Bytecode → Hermes VM → JSI → Native.</p><p>Next time you run yarn android, remember: there’s a tiny, blazing-fast VM working behind the scenes to bring your app to life. 💙</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a90ce082e4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Update the Package Name and Generate a Signed APK in React Native (Android)]]></title>
            <link>https://medium.com/@pythonsst/how-to-update-the-package-name-and-generate-a-signed-apk-in-react-native-android-af28a1258d20?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/af28a1258d20</guid>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Mon, 08 Sep 2025 06:01:26 GMT</pubDate>
            <atom:updated>2025-09-08T06:01:26.823Z</atom:updated>
            <content:encoded><![CDATA[<h3>Step 1: Update the Package Name</h3><p>The package name in a React Native Android project is referenced in multiple places. Here’s how to properly update it:</p><h3>1.1. Update AndroidManifest.xml</h3><ol><li>Navigate to the android/app/src/main/AndroidManifest.xml file.</li><li>Locate the package attribute in the &lt;manifest&gt; tag.</li><li>Replace the old package name with the new one:</li></ol><pre>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br>    package=&quot;com.validus.mobile.android.cicd&quot;&gt;</pre><h3>1.2. Update the MainApplication.java or MainApplication.kt</h3><ol><li>Open the MainApplication.java or MainApplication.kt file located at android/app/src/main/java/com/validus/mobile/rncicd/.</li><li>Update the package declaration at the top to match the new package name:</li></ol><pre>package com.validus.mobile.android.cicd;</pre><ol><li>Move this file into the correct directory that reflects the new package structure:</li></ol><ul><li>From: android/app/src/main/java/com/validus/mobile/rncicd/</li><li>To: android/app/src/main/java/com/validus/mobile/android/cicd/</li></ul><h3>1.3. Update MainActivity.java</h3><p>Similarly, update the MainActivity.java package declaration and move the file to the new directory structure.</p><h3>1.4. Update build.gradle</h3><ol><li>Open android/app/build.gradle.</li><li>Verify that the applicationId is updated to the new package name:</li></ol><pre>applicationId &quot;com.validus.mobile.android.cicd&quot;</pre><h3>Step 2: Clean the Project and Refresh Dependencies</h3><p>To ensure all references to the old package name are removed, clean the project and refresh dependencies.</p><ol><li>Open a terminal and navigate to the android/ directory.</li><li>Run the following command:</li></ol><pre>./gradlew clean<br>./gradlew --refresh-dependencies</pre><p>This will clean the build cache and ensure all dependencies are up to date.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af28a1258d20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create and Apply Patch Files in a React Native Project (Step-by-Step Guide)]]></title>
            <link>https://medium.com/@pythonsst/how-to-create-and-apply-patch-files-in-a-react-native-project-step-by-step-guide-93ee9795f131?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/93ee9795f131</guid>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Mon, 08 Sep 2025 06:00:31 GMT</pubDate>
            <atom:updated>2025-09-08T06:00:31.793Z</atom:updated>
            <content:encoded><![CDATA[<h3>📌 Introduction</h3><p>In <strong>React Native</strong> projects, sometimes we need to modify files inside node_modules. However, these changes get <strong>lost</strong> when dependencies are reinstalled (yarn install or npm install).</p><p>To <strong>preserve changes</strong>, we use <strong>patch files</strong>. This guide will show you <strong>how to create, apply, and automate patch files</strong> step by step. 🚀</p><h3>🔹 Step 1: Create a Folder for Patch Files</h3><p>To keep patches organized, create a patches directory inside your project:</p><pre>mkdir patches</pre><h3>🔹 Step 2: Identify the File to Patch</h3><p>Find the file inside node_modules that you need to modify.</p><p>For example, let’s say we need to modify <strong>Boost.podspec</strong> inside:</p><pre>node_modules/react-native/third-party-podspecs/boost.podspec</pre><h3>🔹 Step 3: Copy the Original File</h3><p>Before making changes, <strong>create a backup</strong>:</p><pre>cp node_modules/react-native/third-party-podspecs/boost.podspec patches/original_boost.podspec</pre><h3>🔹 Step 4: Modify the File</h3><p>Now, edit the file inside node_modules:</p><pre>nano node_modules/react-native/third-party-podspecs/boost.podspec</pre><p>Example change:</p><ul><li><strong>Before:</strong></li></ul><pre>spec.source = { :http =&gt; &#39;https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2&#39;,<br>                  :sha256 =&gt; &#39;f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41&#39; }</pre><ul><li><strong>After:</strong></li></ul><pre>spec.source = { :http =&gt; &#39;https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2&#39;,<br>                  :sha256 =&gt; &#39;f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41&#39; }</pre><p>Save the file (CTRL + X, then Y, then Enter).</p><h3>🔹 Step 5: Create a Patch File</h3><p>Now, generate a <strong>patch</strong> to store the changes:</p><pre>diff -u patches/original_boost.podspec node_modules/react-native/third-party-podspecs/boost.podspec &gt; patches/boost_source_url.patch</pre><h3>🔹 Step 6: Verify the Patch</h3><p>Check if the patch file was created successfully:</p><pre>cat patches/boost_source_url.patch</pre><p>You should see something like:</p><pre>--- patches/original_boost.podspec  2025-02-27 12:00:00.000000000 +0000<br>+++ node_modules/react-native/third-party-podspecs/boost.podspec  2025-02-27 12:00:01.000000000 +0000<br>@@ -1,3 +1,3 @@<br>-spec.source = { :http =&gt; &#39;https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2&#39;,<br>+spec.source = { :http =&gt; &#39;https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2&#39;,<br>                  :sha256 =&gt; &#39;f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41&#39; }</pre><h3>🔹 Step 7: Apply the Patch Manually</h3><p>To test applying the patch, run:</p><pre>patch node_modules/react-native/third-party-podspecs/boost.podspec &lt; patches/boost_source_url.patch</pre><p>This should apply the changes automatically.</p><h3>🔹 Step 8: Automate Patch Application Using patch-package</h3><p>To ensure patches apply automatically after reinstalling dependencies, use patch-package.</p><h3>1️⃣ Install patch-package</h3><pre>npm install patch-package postinstall-postinstall --save-dev</pre><h3>2️⃣ Rename the Patch File</h3><p>For patch-package, patches need to be named correctly:</p><pre>mv patches/boost_source_url.patch patches/react-native+boost.podspec.patch</pre><h3>3️⃣ Add a Postinstall Script</h3><p>Edit package.json and add this script:</p><pre>&quot;scripts&quot;: {<br>  &quot;postinstall&quot;: &quot;patch-package&quot;<br>}</pre><p>Now, every time you run:</p><pre>yarn install</pre><p>or</p><pre>npm install</pre><p>The patch will <strong>automatically be applied</strong>. 🎉</p><h3>🔹 Step 9: Reinstall Dependencies &amp; Verify</h3><p>Clear cache and reinstall dependencies:</p><pre>rm -rf node_modules<br>yarn install</pre><p>Then, check if the modified file inside node_modules is correct.</p><h3>📌 Conclusion</h3><p>You have now successfully: ✅ Created a <strong>patch file</strong><br>✅ Applied it manually<br>✅ Automated it with patch-package</p><p>This ensures that your changes <strong>remain intact</strong> even after reinstalling dependencies! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93ee9795f131" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Upgrade to Java 17 for Your React Native Application ]]></title>
            <link>https://medium.com/@pythonsst/why-upgrade-to-java-17-for-your-react-native-application-e988a417157f?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e988a417157f</guid>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Mon, 08 Sep 2025 05:59:28 GMT</pubDate>
            <atom:updated>2025-09-08T05:59:28.717Z</atom:updated>
            <content:encoded><![CDATA[<p>React Native has quickly become one of the most popular frameworks for building cross-platform mobile apps, and ensuring your development environment is up to date is essential for smooth performance, compatibility, and security. One key update that can significantly improve your React Native development experience is upgrading from <strong>Java 11 to Java 17</strong>. Here’s why you should consider making the switch and how to do it.</p><h3>🚀 Why Java 17 is a Game-Changer for React Native Development</h3><h3>1. Improved Performance</h3><p>Java 17 brings <strong>major performance improvements</strong> that can enhance the efficiency of your React Native builds and app runtime. The <strong>Garbage Collection (GC)</strong> and <strong>Just-In-Time (JIT) compilation</strong> are significantly optimized, resulting in:</p><ul><li><strong>Faster build times</strong> for React Native projects.</li><li><strong>Better memory management</strong>, which is crucial for large React Native apps.</li></ul><p>These improvements are especially noticeable when working with large Java-based libraries or handling memory-intensive operations.</p><h3>2. Long-Term Support (LTS)</h3><p>Java 17 is an <strong>LTS version</strong>, meaning it will receive critical security and stability updates until <strong>2029</strong>. For a React Native project, using an LTS version ensures that you are on a stable, well-supported release that will not be deprecated quickly.</p><h3>3. Compatibility with Modern Tools</h3><p>Many of the tools in the React Native ecosystem, including <strong>Android Studio</strong>, <strong>Gradle</strong>, and <strong>React Native CLI</strong>, are now optimized to work seamlessly with Java 17. Upgrading ensures your development environment remains compatible with the latest versions of these tools, reducing the chances of running into version-related issues.</p><h3>4. Enhanced Security</h3><p>With Java 17, you get updated <strong>security features</strong> and cryptographic algorithms, ensuring that your app is protected from potential vulnerabilities. This is especially important if your app deals with sensitive data or network communication.</p><h3>5. New Language Features</h3><p>Java 17 introduces <strong>cleaner, more efficient coding capabilities</strong> such as:</p><ul><li><strong>Sealed Classes</strong> for controlling class inheritance.</li><li><strong>Pattern Matching</strong> for simplifying conditional logic.</li><li><strong>Records</strong> for easy-to-use data classes.</li></ul><p>These features can be useful when working with custom native modules or extending your React Native codebase with Java.</p><h3>🛠 How to Upgrade to Java 17 for React Native Development</h3><p>Upgrading to Java 17 for React Native is simple and straightforward. Follow these steps to ensure your environment is up to date:</p><h3>Step 1: Install Java 17 Using Homebrew</h3><p>First, you need to install <strong>Java 17</strong> using <strong>Homebrew</strong> (make sure you have Homebrew installed, if not follow the instructions <a href="https://brew.sh/">here</a>):</p><pre>brew install openjdk@17</pre><h3>Step 2: Set Java 17 as the Default Version</h3><p>To set Java 17 as your default version, run the following command:</p><pre>sudo ln -sfn /opt/homebrew/opt/openjdk@17 /Library/Java/JavaVirtualMachines/openjdk-17.jdk</pre><p>Then, update your shell environment to point to Java 17:</p><pre>export JAVA_HOME=&quot;/opt/homebrew/opt/openjdk@17&quot;<br>export PATH=&quot;$JAVA_HOME/bin:$PATH&quot;</pre><p>Don’t forget to <strong>restart your terminal</strong> or run source ~/.zshrc (or source ~/.bash_profile depending on your shell).</p><h3>Step 3: Verify the Installation</h3><p>After setting everything up, you can verify that Java 17 is active by running:</p><pre>java -version</pre><p>You should see:</p><pre>openjdk version &quot;17.0.14&quot; 2023-01-17 LTS<br>OpenJDK Runtime Environment Homebrew (build 17.0.14+8)</pre><h3>🚨 Common Issues After Upgrading</h3><p>While upgrading to Java 17 should be seamless, there are a few things to watch out for:</p><ul><li><strong>Android Build Issues:</strong> Make sure your android/build.gradle file is configured to work with Java 17. Gradle and other build tools may require updating for full compatibility.</li><li><strong>React Native Version Compatibility:</strong> Ensure your React Native project is compatible with Java 17. For older versions of React Native, you may need to update your gradle-wrapper.properties and gradle versions.</li><li><strong>Dependencies:</strong> Some Java-based dependencies may require updates to support Java 17. Make sure all dependencies in your React Native project are up to date.</li></ul><h3>🌱 The Benefits of Upgrading to Java 17 for React Native</h3><p>Upgrading to Java 17 offers several clear advantages for React Native developers:</p><ul><li><strong>Faster builds and better app performance</strong> for smoother development and user experience.</li><li><strong>Long-term stability</strong> with LTS support for security and reliability.</li><li><strong>Modern language features</strong> that improve code quality and maintainability.</li><li><strong>Enhanced security</strong> to protect your app and its users.</li></ul><p>By upgrading to Java 17, you’ll be positioning your project for continued success and smoother collaboration with the latest React Native tools.</p><h3>Conclusion</h3><p>Java 17 is an essential upgrade for React Native developers, offering better performance, security, and compatibility with modern tools. The upgrade process is simple, and the long-term benefits far outweigh the small effort required to make the switch.</p><p>If you haven’t upgraded yet, now is the time to do so and ensure your React Native project is on the cutting edge!</p><p>Feel free to share your experiences or drop any questions in the comments below.</p><p>Happy coding! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e988a417157f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Single App, Multiple Flavors: Scalable Play Console Strategy for React Native]]></title>
            <link>https://medium.com/@pythonsst/single-app-multiple-flavors-scalable-play-console-strategy-for-react-native-20c76eb60ab4?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/20c76eb60ab4</guid>
            <category><![CDATA[reactnativeappdevelopment]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[reactnative-app]]></category>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Sat, 26 Jul 2025 12:06:44 GMT</pubDate>
            <atom:updated>2025-07-26T12:06:44.588Z</atom:updated>
            <content:encoded><![CDATA[<p>When building mobile apps, a common question is:<br> <strong>“Should we create separate Play Store apps for Dev, UAT, SIT, and Production?”</strong></p><h3>✨ Short answer: You can — but you probably don’t need to.</h3><h3>✅ Why One App for All Flavors?</h3><p>Instead of creating <strong>multiple apps</strong> in the Google Play Console, we manage <strong>all environments</strong> inside <strong>a single app</strong> using <strong>tracks</strong>:</p><p>EnvironmentPlay Store TrackdevInternal TestingsitOpen TestinguatClosed TestingprodProduction</p><h3>💡 Why This Strategy Works</h3><ul><li><strong>🎯 Centralized Management</strong><br> No more juggling multiple apps, keys, testers, or descriptions. Everything lives in one place.</li><li><strong>🚀 Seamless CI/CD with Fastlane</strong><br> Automate flavor-based deployments in minutes — no manual uploads for each environment.</li><li><strong>🧪 Isolated Environments</strong><br> Android flavors + .env files = completely separate configs, names, and icons.</li><li><strong>📉 Less Overhead, More Focus</strong><br> Ship features, not paperwork. One app = fewer approvals and cleaner workflows.</li><li><strong>⚙️ Scales Perfectly for Startups</strong><br> Managing 5 projects × 4 flavors? That’s 20 apps! For small teams, that’s overkill.</li></ul><h3>🧠 The Choice is Yours</h3><p>Yes, creating separate apps <strong>can be okay</strong> — especially for enterprises with strict compliance.</p><p>But for most <strong>startups and indie teams</strong>, a <strong>single app with flavors</strong> is a smarter, cleaner, and scalable approach.</p><p>That’s exactly what I’m doing with my app:<br> <strong>ReactNativeIgniteKit → One app, many flavors. Simple. Powerful. Maintainable.</strong></p><p>🧩 Android Build Configuration</p><pre>flavorDimensions &quot;default&quot;<br><br>productFlavors {<br>    production {<br>        // No suffix for production (clean package name)<br>        applicationIdSuffix &quot;&quot;<br>        resValue &quot;string&quot;, &quot;build_config_package&quot;, &quot;com.validus.ignitekit&quot;<br>    }<br><br>    staging {<br>        applicationIdSuffix &quot;.staging&quot;<br>        resValue &quot;string&quot;, &quot;build_config_package&quot;, &quot;com.validus.ignitekit&quot;<br>    }<br><br>    development {<br>        applicationIdSuffix &quot;.development&quot;<br>        resValue &quot;string&quot;, &quot;build_config_package&quot;, &quot;com.validus.ignitekit&quot;<br>    }<br><br>    sit {<br>        applicationIdSuffix &quot;.sit&quot;<br>        resValue &quot;string&quot;, &quot;build_config_package&quot;, &quot;com.validus.ignitekit&quot;<br>    }<br><br>    uat {<br>        applicationIdSuffix &quot;.uat&quot;<br>        resValue &quot;string&quot;, &quot;build_config_package&quot;, &quot;com.validus.ignitekit&quot;<br>    }<br>}</pre><h3>🌱 Environment Configuration</h3><p>Using react-native-config for different .env files:</p><pre>project.ext.envConfigFiles = [<br>    productionrelease: &quot;.env.production&quot;,<br>    developmentrelease: &quot;.env.development&quot;,<br>    stagingrelease: &quot;.env.staging&quot;,<br>    sitrelease: &quot;.env.sit&quot;,<br>    uatrelease: &quot;.env.uat&quot;<br>]<br>apply from: project(&#39;:react-native-config&#39;).projectDir.getPath() + &quot;/dotenv.gradle&quot;</pre><h3>🧪 Fastlane Setup</h3><pre><br>default_platform(:android)<br>platform :android do<br>  desc &quot;🚀 Deploy DEV flavor to Internal Testing&quot;<br>  lane :dev_internal do<br>    gradle(task: &quot;clean&quot;)<br>    gradle(<br>      task: &quot;bundle&quot;,<br>      flavor: &quot;dev&quot;,<br>      build_type: &quot;Release&quot;<br>    )<br>    upload_to_play_store(<br>      track: &#39;internal&#39;,<br>      json_key: &quot;android/fastlane/keys/reactnativeignitekit-xyz.json&quot;,<br>      package_name: &quot;com.validus.ignitekit&quot;,<br>      skip_upload_apk: true<br>    )<br>  end<br>desc &quot;🧪 Deploy SIT flavor to Open Testing&quot;<br>  lane :sit_beta do<br>    gradle(task: &quot;clean&quot;)<br>    gradle(<br>      task: &quot;bundle&quot;,<br>      flavor: &quot;sit&quot;,<br>      build_type: &quot;Release&quot;<br>    )<br>    upload_to_play_store(<br>      track: &#39;beta&#39;,<br>      json_key: &quot;android/fastlane/keys/reactnativeignitekit-xyz.json&quot;,<br>      package_name: &quot;com.validus.ignitekit&quot;,<br>      skip_upload_apk: true<br>    )<br>  end<br>desc &quot;🔒 Deploy UAT flavor to Closed Testing&quot;<br>  lane :uat_closed do<br>    gradle(task: &quot;clean&quot;)<br>    gradle(<br>      task: &quot;bundle&quot;,<br>      flavor: &quot;uat&quot;,<br>      build_type: &quot;Release&quot;<br>    )<br>    upload_to_play_store(<br>      track: &#39;closed&#39;,<br>      json_key: &quot;android/fastlane/keys/reactnativeignitekit-xyz.json&quot;,<br>      package_name: &quot;com.validus.ignitekit&quot;,<br>      skip_upload_apk: true<br>    )<br>  end<br>desc &quot;🏁 Deploy PROD flavor to Production&quot;<br>  lane :prod_release do<br>    gradle(task: &quot;clean&quot;)<br>    gradle(<br>      task: &quot;bundle&quot;,<br>      flavor: &quot;prod&quot;,<br>      build_type: &quot;Release&quot;<br>    )<br>    upload_to_play_store(<br>      track: &#39;production&#39;,<br>      json_key: &quot;android/fastlane/keys/reactnativeignitekit-xyz.json&quot;,<br>      package_name: &quot;com.validus.ignitekit&quot;,<br>      skip_upload_apk: true<br>    )<br>  end<br>end</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20c76eb60ab4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Rename Your React Native App (Without Losing Your Mind)]]></title>
            <link>https://medium.com/@pythonsst/rename-your-react-native-app-without-losing-your-mind-630fcf42e6f1?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/630fcf42e6f1</guid>
            <category><![CDATA[rename]]></category>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Fri, 25 Jul 2025 08:24:02 GMT</pubDate>
            <atom:updated>2025-07-25T08:29:08.747Z</atom:updated>
            <content:encoded><![CDATA[<p>So you just cloned this repo packed with CI/CD, themes, build flavors, and clean architecture — basically a developer’s dream starter kit.</p><p>But before you start building your next big thing, let’s give your app a name that isn’t… RnNewArchitectureDemo.</p><h3>✨ Step 1: Rename the App</h3><p>Run this one-liner:Step 1: Rename App Name</p><pre>npx react-native-rename &quot;ReactNativeIgniteKit&quot;</pre><p>✅ This will:</p><ul><li>Change the app name across Android and iOS</li><li>Update project files like .xcodeproj, app.json, and more</li><li>Set your display name on the device</li></ul><h3>🧨 Step 2: Rename the Project Folder (Don’t Skip This!)</h3><p>This step might <em>look</em> simple — but if you skip it or do it halfway, Xcode and Android Studio will throw tantrums you’ll spend <strong>hours</strong> debugging. Trust me, future-you will thank you for doing it right now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*ICxEIZI0w0qdn-N_mmmX2g.png" /></figure><p>Then reopen the new folder in VS Code.</p><h3>🔁 3rd: Update Package Name (a.k.a. Bundle Identifier)</h3><p>If you want to change the package name (like com.rnnewarchitecturedemo) to something meaningful like com.validus.ignitekit, just <strong>search and replace it</strong> across your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*tMQoB_A8Kd25FAThPAGjuA.png" /></figure><h3>💡 Pro Tip: Keep It Consistent</h3><p>Make life easier — use the <strong>same package name</strong> for both Android and iOS:</p><pre>com.validus.ignitekit</pre><h3>4 📝 Don’t Forget: Rename Your .plist Files Too</h3><p>This is a small step — but it helps keep your project organized and avoids Xcode build errors down the road.</p><p>It only takes a few seconds to update and makes everything feel much cleaner.</p><p><strong>Old plist names:</strong></p><pre>RnNewArchitectureDemo dev-Info.plist  <br>RnNewArchitectureDemo prod-Info.plist  <br>RnNewArchitectureDemo stag-Info.plist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*JDNLXi5zEEwkL4GUgHYpew.png" /></figure><p><strong>New plist names:</strong></p><pre>ReactNativeIgniteKit dev-Info.plist  <br>ReactNativeIgniteKit prod-Info.plist  <br>ReactNativeIgniteKit stag-Info.plist</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*KdQbTrXYxfIBfj9GCzjUDA.png" /></figure><h3>🧹 3. Clean Cache &amp; Rebuild</h3><pre>watchman watch-del-all<br>rm -rf node_modules android/build ios/build<br>npm install<br>cd ios &amp;&amp; pod install &amp;&amp; cd ..<br>npx react-native run-android<br>npx react-native run-ios</pre><h3>✅ Done!</h3><p>You now have:</p><ul><li>A properly renamed app</li><li>Consistent package and bundle IDs</li><li>Updated folder and config names</li><li>And most importantly… <strong>no surprises during build</strong> 🚀</li></ul><h3>🔗 Want to see this in action?</h3><p>Check out the actual PR on GitHub where this refactor was done:<br> 👉 <a href="https://github.com/shiv-validus/RnNewArchitectureDemo/pull/11">github.com/shiv-validus/RnNewArchitectureDemo/pull/11</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=630fcf42e6f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why We Chose Expo (And Why You Might Regret It Later)]]></title>
            <link>https://medium.com/@pythonsst/why-we-chose-expo-and-why-you-might-regret-it-later-4f410f613739?source=rss-f60c1828931f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f410f613739</guid>
            <category><![CDATA[expo]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[ract-native]]></category>
            <dc:creator><![CDATA[Shiv Shankar Tiwari]]></dc:creator>
            <pubDate>Tue, 22 Jul 2025 15:59:26 GMT</pubDate>
            <atom:updated>2025-07-22T15:59:26.630Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, after seriously testing Expo, I realized how much confusion developers face when choosing between <strong>Expo</strong> and <strong>React Native CLI</strong>.<br> <br>This article is everything I wish I had known before making the decision — the good, the painful, and the stuff no one tells you until you’re too deep to turn back.</p><p>No fluff. No buzzwords. Just the truth from real experience.</p><h3>✅ Why We Chose Expo (And Honestly Loved It)</h3><h3>🔐 1. No Keystore Panic</h3><p>With CLI, if you lose your keystore.jks, your Android app is basically stuck in limbo.</p><p>Expo? Handles it all for you — securely in the cloud. That alone removes 10% of launch anxiety.</p><h3>⚡ 2. OTA Updates = Superpower</h3><p>Push fixes or features instantly without waiting for App Store or Play Store approvals.<br> We shipped live updates in under 30 seconds — no rebuilds, no app resubmissions.</p><h3>🧑‍💻 3. Web Devs Became Mobile Devs</h3><p>No Android Studio. No Xcode.<br> Just npx create-expo-app → QR code → your app is live.</p><p>Even web developers jumped in with zero mobile experience. Big win for collaboration.</p><h3>☁️ 4. CI/CD in the Cloud</h3><p>EAS Build + Update handles signing, build pipelines, OTA updates, and store uploads.</p><p>No Jenkins, no Bitrise, no custom scripts.<br> It felt like using Heroku, but for mobile.</p><h3>🌐 5. Bonus: It Supports Web Too</h3><p>With expo web, we ran the same app in the browser.<br> Perfect for demos, admin tools, and internal previews — no extra setup.</p><h3>⚠️ Where Expo Can Trip You Up</h3><h3>💸 1. Not Everything Is Free</h3><p>Advanced features like:</p><ul><li>Unlimited builds</li><li>OTA bandwidth</li><li>Priority queues<br> …come at a cost. It’s reasonable — just budget for it early.</li></ul><h3>🕒 2. Build Times Are Long</h3><p>EAS builds: ~15–20 minutes<br> CLI builds (with cache): ~2–4 minutes</p><p>If you’re testing frequently, this will slow you down.</p><h3>📦 3. The App Size Adds Up</h3><p>Even simple Expo apps start at ~25–30MB.<br> CLI builds with Hermes and ProGuard? 10–15MB.</p><h3>🧱 4. Native Access Is Limited</h3><p>You don’t get full control over build.gradle, Xcode configs, or native libraries.</p><p>Want Bluetooth, in-app purchases, or native gestures?<br> Either hope it’s supported… or eject.</p><h3>🤯 What I Learned (After Reading Everything &amp; Breaking Stuff Myself)</h3><ul><li><strong>Expo is amazing — until it isn’t.</strong><br> If your app grows or touches edge-case native features, you <em>will</em> need more control.</li><li><strong>OTA is magical… but risky.</strong><br> Ship a breaking change, and users might load a cached version. Test OTA on staging. Use release channels.</li><li><strong>Config plugins ≠ full freedom.</strong><br> You can tweak things — but it’s like rearranging furniture in a rented apartment. You’ll hit a limit.</li></ul><h3>🧠 Pro Tips to Make Your Expo Life Smoother</h3><ul><li>Use <strong>release channels</strong> (staging, production) to avoid OTA accidents</li><li>Always <strong>test OTA updates</strong> before pushing live</li><li>Secure your credentials.json and access tokens</li><li>Use expo-router for cleaner routing across platforms</li><li>Don’t blindly eject — plan it, test it, and do it early if needed</li></ul><h3>🔚 Final Verdict</h3><p><strong>🏆 Best choice based on each factor:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*xn09X967LK-0Qh1RUzR5Fg.png" /></figure><p>🏁 TL;DR</p><p>Use <strong>Expo</strong> if you want speed, OTA updates, and team happiness.</p><p>Use <strong>CLI</strong> if you want tight control, better performance, or native SDK freedom.</p><p>If you’re just starting your app in 2025, my advice is simple:</p><blockquote><strong><em>Start with Expo. Just know when to switch.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f410f613739" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>