<?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 Srishti Roy on Medium]]></title>
        <description><![CDATA[Stories by Srishti Roy on Medium]]></description>
        <link>https://medium.com/@sreeshtyray?source=rss-99a40db9b1fe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JjeEcm2tL-H3rB8DqEifFQ.jpeg</url>
            <title>Stories by Srishti Roy on Medium</title>
            <link>https://medium.com/@sreeshtyray?source=rss-99a40db9b1fe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 09:32:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sreeshtyray/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[How context switchting works in coroutine]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Imagine your app&#x2019;s CPU is a kitchen with 4 stoves (4 CPU cores).</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/how-context-switchting-works-in-coroutine-bfb7a03dd579?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/how-context-switchting-works-in-coroutine-bfb7a03dd579?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfb7a03dd579</guid>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Sat, 14 Nov 2026 12:21:32 GMT</pubDate>
            <atom:updated>2026-11-14T12:21:32.721Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How I Debug React Native WebView Performance Issues]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">WebView issues in React Native can be frustrating because the root cause isn&#x2019;t always the WebView itself. Problems like slow rendering&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/how-i-debug-react-native-webview-performance-issues-c488e48bccec?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/how-i-debug-react-native-webview-performance-issues-c488e48bccec?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/c488e48bccec</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Fri, 26 Jun 2026 10:50:11 GMT</pubDate>
            <atom:updated>2026-06-26T10:50:11.790Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[From Crash to Recovery: How I Handle Production Crashes in Mobile Apps]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Production crashes are inevitable. What differentiates high-performing engineering teams is how quickly they detect, mitigate, fix, and&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/from-crash-to-recovery-how-i-handle-production-crashes-in-mobile-apps-eb7384b6be3d?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/from-crash-to-recovery-how-i-handle-production-crashes-in-mobile-apps-eb7384b6be3d?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb7384b6be3d</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Fri, 26 Jun 2026 10:46:17 GMT</pubDate>
            <atom:updated>2026-06-26T10:46:17.440Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Android Interview Questions Must solve by aspiring android devs]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">1. Machine Coding Round&#x200A;&#x2014;&#x200A;Data Structure Implementations</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/android-interview-questions-must-solve-by-aspiring-android-devs-f723484e2d0c?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/android-interview-questions-must-solve-by-aspiring-android-devs-f723484e2d0c?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f723484e2d0c</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Tue, 12 Aug 2025 05:38:10 GMT</pubDate>
            <atom:updated>2025-08-12T05:38:10.906Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Kotlin Multiplatform vs React Native: Which One Wins on Performance?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@sreeshtyray/kotlin-multiplatform-vs-react-native-which-one-wins-on-performance-acc75fa083b0?source=rss-99a40db9b1fe------2"><img src="https://cdn-images-1.medium.com/max/996/1*2jvPnkVClA36stJ5Y7OgEg.png" width="996"></a></p><p class="medium-feed-snippet">As mobile apps grow more complex and performance-critical&#x200A;&#x2014;&#x200A;especially in industries like retail, fintech, and logistics&#x200A;&#x2014;&#x200A;choosing the&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/kotlin-multiplatform-vs-react-native-which-one-wins-on-performance-acc75fa083b0?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/kotlin-multiplatform-vs-react-native-which-one-wins-on-performance-acc75fa083b0?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/acc75fa083b0</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Sun, 13 Jul 2025 08:51:35 GMT</pubDate>
            <atom:updated>2025-07-13T08:51:35.542Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Android Scenario Based Interview Question]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">&#x2705; 1. App Crash When Backgrounding Payment Screen (Process Death Recovery)</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/android-scenario-based-interview-question-30a9f66879e0?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/android-scenario-based-interview-question-30a9f66879e0?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/30a9f66879e0</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Sat, 12 Jul 2025 06:54:44 GMT</pubDate>
            <atom:updated>2025-07-12T06:54:44.423Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Native IOS performance optimization]]></title>
            <link>https://medium.com/@sreeshtyray/native-ios-performance-optimization-db0bb3966d71?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/db0bb3966d71</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 22:49:41 GMT</pubDate>
            <atom:updated>2025-06-10T22:49:41.717Z</atom:updated>
            <content:encoded><![CDATA[<p>Native IOS performance optimization</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1suxDDVtqK9DzzVR" /><figcaption>Photo by <a href="https://unsplash.com/@williamtm?utm_source=medium&amp;utm_medium=referral">William Hook</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Optimizing an iOS app involves improving performance, memory usage, battery efficiency, network responsiveness, and user experience. Below is a checklist-style breakdown of key areas with actionable recommendations:</p><p>🚀 1. Performance Optimization</p><p>Use Instruments (Xcode)</p><p>Use Time Profiler to identify CPU-heavy methods.</p><p>Use Allocations &amp; Leaks to track memory usage.</p><p>Use Energy Log to detect battery-heavy operations.</p><p>Avoid Heavy Operations on Main Thread</p><p>Move parsing, heavy calculations, and large image processing to background threads (DispatchQueue.global() or OperationQueue).</p><p>Keep UI updates strictly on DispatchQueue.main.</p><p>Lazy Loading</p><p>Load views, images, and data only when needed.</p><p>Defer initialization of non-critical components until after app launch.</p><p>🧠 2. Memory Management</p><p>ARC &amp; Leak Prevention</p><p>Watch for retain cycles using [weak self] in closures.</p><p>Use Instruments – Leaks tool to detect memory leaks.</p><p>Efficient Image Handling</p><p>Resize large images before display using UIGraphicsImageRenderer.</p><p>Use imageNamed: carefully – it caches; use it only for reusable images.</p><p>Avoid Unnecessary Caching</p><p>Don’t keep unused large objects in memory (e.g., video buffers, maps).</p><p>Clear cache intelligently (NSCache auto-purges under memory pressure).</p><p>🔋 3. Battery Optimization</p><p>Reduce Background Work</p><p>Schedule background tasks with BGTaskScheduler instead of timers or frequent polling.</p><p>Use significant location changes instead of constant GPS updates.</p><p>Efficient Animations</p><p>Avoid too many concurrent animations.</p><p>Use Core Animation efficiently; prefer GPU-friendly operations (avoid offscreen rendering).</p><p>🌐 4. Network Optimization</p><p>Optimize API Calls</p><p>Combine smaller API calls where possible.</p><p>Use HTTP/2 or persistent connections.</p><p>Cancel redundant requests (e.g., URLSessionDataTask.cancel() on scroll).</p><p>Caching &amp; Compression</p><p>Enable HTTP cache headers and leverage URLCache.</p><p>Use gzip or Brotli compression for payloads.</p><p>Use Background Transfers</p><p>Use URLSessionConfiguration.background for large file uploads/downloads.</p><p>🧭 5. Startup Time Improvement</p><p>Minimize Work in application(_:didFinishLaunchingWithOptions:)</p><p>Defer initialization of heavy SDKs or features.</p><p>Measure with os_signpost or Instruments → Launch Time template.</p><p>Preload Async</p><p>Load user preferences, configuration files asynchronously.</p><p>🎯 6. UI/UX Optimization</p><p>Smooth Scrolling</p><p>Reuse cells in UITableView/UICollectionView.</p><p>Pre-calculate cell sizes when possible (estimatedRowHeight, preferredLayoutAttributesFitting).</p><p>Reduce Overdraw</p><p>Use Color Blended Layers in Debug UI to identify costly rendering.</p><p>Avoid too many transparent views stacked.</p><p>🧪 7. Code-Level Tips</p><p>Swift Specific</p><p>Use value types (structs) where possible to avoid reference overhead.</p><p>Prefer lazy var over computed properties if expensive.</p><p>Concurrency</p><p>Prefer Swift Concurrency (async/await) over GCD for structured and readable code.</p><p>Use Task {} or DetachedTask for controlled async behavior.</p><p>🛠 8. Third-party SDKs</p><p>Monitor SDKs using a profiler; remove or replace heavy ones.</p><p>Don’t initialize unused SDKs at launch.</p><p>📉 9. App Size Reduction</p><p>Use App Thinning: Slicing, Bitcode, and On-Demand Resources.</p><p>Strip unused architectures (arm64, armv7, etc.).</p><p>Compress assets and remove duplicate resources.</p><p>📊 10. Analytics &amp; Monitoring</p><p>Integrate Crashlytics, Firebase Performance, or Instabug to track real-world performance issues.</p><p>Log app freezes, slow screens, or ANRs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db0bb3966d71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Enhancing User Retention with Firebase Remote Config, A/B Testing & Feature Flags]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">In today&#x2019;s fast-moving app landscape, real-time iteration is no longer a luxury&#x200A;&#x2014;&#x200A;it&#x2019;s a necessity. After working on multiple releases&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/enhancing-user-retention-with-firebase-remote-config-a-b-testing-feature-flags-dd3e88c0cc0c?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/enhancing-user-retention-with-firebase-remote-config-a-b-testing-feature-flags-dd3e88c0cc0c?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd3e88c0cc0c</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 21:33:21 GMT</pubDate>
            <atom:updated>2025-06-03T21:33:21.571Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[ Architecting a Real-Time Analytics Module with Offline-First & Background Resilience in Android]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Building resilient, real-time mobile analytics in a constrained, mobile-first world is not just about fast APIs&#x200A;&#x2014;&#x200A;it&#x2019;s about handling&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/architecting-a-real-time-analytics-module-with-offline-first-background-resilience-in-android-9ec96ea122a8?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/architecting-a-real-time-analytics-module-with-offline-first-background-resilience-in-android-9ec96ea122a8?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ec96ea122a8</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 21:07:15 GMT</pubDate>
            <atom:updated>2025-06-03T21:07:15.991Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[ Cleaning Up Kotlin Conditionals with takeIf and let: A Real Example]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">We&#x2019;ve all been there. You&#x2019;re working with a protobuf-generated model or some data source where every field has an isSet() or hasXYZ()&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@sreeshtyray/cleaning-up-kotlin-conditionals-with-takeif-and-let-a-real-example-792e1255d516?source=rss-99a40db9b1fe------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@sreeshtyray/cleaning-up-kotlin-conditionals-with-takeif-and-let-a-real-example-792e1255d516?source=rss-99a40db9b1fe------2</link>
            <guid isPermaLink="false">https://medium.com/p/792e1255d516</guid>
            <dc:creator><![CDATA[Srishti Roy]]></dc:creator>
            <pubDate>Fri, 25 Apr 2025 13:24:09 GMT</pubDate>
            <atom:updated>2025-04-25T13:24:09.087Z</atom:updated>
        </item>
    </channel>
</rss>