<?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 Dariy Dzyndra on Medium]]></title>
        <description><![CDATA[Stories by Dariy Dzyndra on Medium]]></description>
        <link>https://medium.com/@dariydzyndra?source=rss-8318e3dc7b29------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xSmBS6qSbyHJYDiMDedheA.jpeg</url>
            <title>Stories by Dariy Dzyndra on Medium</title>
            <link>https://medium.com/@dariydzyndra?source=rss-8318e3dc7b29------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:15:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dariydzyndra/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[Adding Visual Intelligence, Siri and Spotlight to a React Native app]]></title>
            <link>https://medium.com/@dariydzyndra/adding-visual-intelligence-siri-and-spotlight-to-a-react-native-app-d9c61c53b612?source=rss-8318e3dc7b29------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9c61c53b612</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[visual-intelligence]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[siri]]></category>
            <dc:creator><![CDATA[Dariy Dzyndra]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 17:01:25 GMT</pubDate>
            <atom:updated>2026-09-17T17:01:25.819Z</atom:updated>
            <content:encoded><![CDATA[<p>MyGarage keeps a car’s documents, receipts and history in a React Native app. This is how iOS 26 features reach that data, and how Swift and JavaScript hand work to each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UDWn9kEOp2iY6AQMu2iz6Q.png" /></figure><p>I built MyGarage because everything about a car ends up scattered: registration in a drawer, insurance somewhere in email, service invoices in the glovebox, fuel receipts nowhere. The app keeps all of it on the phone. Photograph a receipt and it is filed and turned into an expense with vendor, date, litres and price already filled in. Scan a service invoice and the history, mileage and next due date follow. Whatever you need later is one search away.</p><p>iOS gives an app three ways to be useful without being opened, and I wanted all three in MyGarage:</p><ul><li><strong>Siri and App Shortcuts.</strong> Say “log fuel in My Garage” at the pump and the form is open before you have found the icon. No tapping through screens.</li><li><strong>Spotlight.</strong> Type a station name or “fuel” on the Home Screen and the receipt or expense is right there, next to your mail and notes.</li><li><strong>Visual Intelligence.</strong> Point the camera at a receipt and the saved copy comes back, or a tile offers to add it. The paper itself is the search.</li></ul><p>Each one removes a step between you and your record. This article is about how they were built.</p><h3>1. Architecture</h3><p>Three layers, one rule: iOS talks only to Swift, Swift never touches the database, and every user action ends in one JavaScript function.</p><ul><li><strong>JavaScript owns the data.</strong> SpotlightIndexService subscribes to the Zustand stores, reads Realm and builds a flat list of cars, documents and events. It runs two seconds after the last change, so an import of fifty receipts produces one index write, not fifty.</li><li><strong>Swift owns the system surfaces.</strong> App Intents, app entities, the Spotlight index and the Visual Intelligence query live in ios/MyGarage/AppIntents/. They answer from a JSON mirror on disk, never from React Native, because Siri may call them while the app is cold.</li><li><strong>One pipeline back.</strong> Every intent, tapped result and Visual Intelligence tile ends in QuickActionsModule.deliver(actionType:), which becomes a mygarage:// URL that the existing executeDeepLink switch in the navigator already handled for Home Screen quick actions.</li></ul><figure><img alt="Data flows down from Realm into a JSON mirror; actions flow back up through one deep-link pipeline." src="https://cdn-images-1.medium.com/max/1024/1*7zJHAH5v-d5aRjQsTjX38A.jpeg" /><figcaption>Data flows down from Realm into a JSON mirror; actions flow back up through one deep-link pipeline.</figcaption></figure><h3>2. The bridge, in both directions</h3><h4>JavaScript → Swift: a flat payload</h4><p>One native module, SpotlightModule, with four methods: isAvailable, replaceAll(items), removeAll, donate(action). The payload is deliberately thin. This is the whole privacy contract, enforced by a unit test that fails if any other key appears:</p><pre>{ id: &#39;document/&lt;uuid&gt;&#39;,   // also the deep link target<br>  domain: &#39;document&#39;,       // car | document | event<br>  title, description, keywords, date,<br>  filePath, thumbnailPath, mimeType,   // kept in the mirror, never indexed<br>  carId, isReceipt }</pre><p>Swift writes the list to /../SystemIndex/index.json first, then indexes it:</p><pre>try SystemIndexStore.save(records)<br>let index = CSSearchableIndex.default()<br>try await index.deleteAllSearchableItems()<br>try await index.indexAppEntities(records.filter { $0.domain == &quot;car&quot; }.map(CarEntity.init))<br>try await index.indexAppEntities(documents)<br>try await index.indexAppEntities(events)</pre><p>indexAppEntities is the iOS 18 API that puts rows into Spotlight and into Apple Intelligence&#39;s semantic index in one call. It is the reason the app&#39;s minimum version moved to iOS 18.</p><h4>Swift → JavaScript: one URL</h4><p>Every intent finishes with the same seven lines. Warm app: RCTLinkingManager emits the url event JavaScript already listens to. Cold launch: the action is also parked as a pending shortcut that JavaScript collects once navigation is ready, with a 60-second expiry so a stale action never fires later.</p><pre>@MainActor @objc static func deliver(actionType: String) {<br>  pendingShortcut = UIApplicationShortcutItem(type: actionType, localizedTitle: actionType)<br>  pendingFromIntentAt = Date()<br>  if let url = URL(string: &quot;mygarage://\(actionType)&quot;) {<br>    RCTLinkingManager.application(UIApplication.shared, open: url, options: [:])<br>  }<br>}</pre><p>The action vocabulary is small and readable: add-fuel, add-mileage, scan, add-receipt, open/document/&lt;id&gt;, search/&lt;term&gt;, add-receipt/&lt;file path&gt;. On the JavaScript side one switch maps each to a screen. Adding a Siri phrase never needs a JavaScript change; adding a new destination needs one case.</p><h3>3. Siri and App Shortcuts</h3><figure><img alt="Siri Shortcuts for MyGarage" src="https://cdn-images-1.medium.com/max/1024/1*kakT0-05u1fdXOGS2qkJ9Q.png" /><figcaption>Siri Shortcuts for MyGarage</figcaption></figure><p>Four intents, each a struct of a dozen lines: LogFuelIntent, LogMileageIntent, ScanDocumentIntent, AddReceiptIntent. An AppShortcutsProvider pairs them with phrases, and iOS registers everything at install time. No Shortcuts setup, no Siri training.</p><pre>AppShortcut(<br>  intent: LogFuelIntent(),<br>  phrases: [&quot;Log fuel in \(.applicationName)&quot;,<br>            &quot;Add a fill-up in \(.applicationName)&quot;,<br>            &quot;Log a refuel in \(.applicationName)&quot;],<br>  shortTitle: LocalizedStringResource(&quot;intent.logFuel.title&quot;, table: &quot;AppShortcuts&quot;),<br>  systemImageName: &quot;fuelpump.fill&quot;)</pre><p>Details that mattered:</p><ul><li><strong>Every phrase contains </strong>\(.applicationName)<strong>.</strong> Apple requires it, and it is what lets Siri route the request without a fixed wake word.</li><li><strong>Translations live in one strings table</strong>, AppShortcuts.strings, in ten .lproj folders. Titles, descriptions and phrases together, keyed by the English phrase with ${applicationName} in place of the interpolation.</li><li>CFBundleSpokenName<strong> = &quot;My Garage&quot;.</strong> Siri could not match the compound word &quot;MyGarage&quot;; the spoken name fixes recognition without renaming the app.</li><li><strong>Donation closes the loop.</strong> When the user logs fuel by hand, JavaScript calls donate(&#39;add-fuel&#39;), Swift calls IntentDonationManager.shared.donate(intent:), and iOS learns when to suggest the shortcut on the Lock Screen.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4w15b-bYKE-cOFAnIq52-g.gif" /><figcaption>Ask Siri to log fuel in MyGarage</figcaption></figure><h3>4. Spotlight and app entities</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nw_bMta0XfpHyp8Kns1Hfw.jpeg" /><figcaption>Spotlight for “fuel”: three purchases, each opening the exact expense.</figcaption></figure><p>Cars, documents and events are AppEntity types that also conform to IndexedEntity. Each carries a CSSearchableItemAttributeSet with title, description, keywords and date, and a DisplayRepresentation with a thumbnail. The document entity is Transferable as a FileRepresentation, so &quot;send my insurance policy to Mail&quot; hands over the actual PDF.</p><p>Entity queries answer from the JSON mirror:</p><pre>struct DocumentEntityQuery: EntityStringQuery {<br>  func entities(for identifiers: [String]) async throws -&gt; [DocumentEntity] {<br>    identifiers.compactMap { SystemIndexStore.record(id: $0) }.map(DocumentEntity.init)<br>  }<br>  func entities(matching string: String) async throws -&gt; [DocumentEntity] {<br>    SystemIndexStore.search(string, domain: &quot;document&quot;).map(DocumentEntity.init)<br>  }<br>}</pre><p>Two intents sit on top. SearchMyGarageIntent adopts the .system.search app schema, so Siri can phrase a search freely and the app receives a term; it delivers search/&lt;term&gt; and the Search tab opens with the query applied. Three plain OpenIntents open one entity each and deliver open/&lt;domain&gt;/&lt;id&gt;. A tapped Spotlight row arrives through continue userActivity in the AppDelegate and is turned into the same open/ action, so there is one code path whatever the entry point.</p><p>Android gets the same payload. AppSearchModule writes the identical item list into AppSearch platform storage (Android 12+) as builtin Thing rows, with mygarage://open/… as the URL. Same JavaScript service, two native modules, one contract.</p><h3>5. Visual Intelligence</h3><figure><img alt="Visual Intelligence in action: camera on a receipt → Search → the saved receipt, first → opened in the app." src="https://cdn-images-1.medium.com/max/1024/1*nSoJH9r-_m_si0TNNK1sWA.gif" /><figcaption>Visual Intelligence in action: camera on a receipt → Search → the saved receipt, first → opened in the app.</figcaption></figure><h3>What iOS gives you</h3><p>A SemanticContentDescriptor with two things: labels, one or two generic English words from Apple&#39;s undocumented vocabulary (receipt, car), and pixelBuffer, the camera frame. Nothing else. The query is single-shot: iOS shows placeholders until values(for:) returns, then draws the tiles once. The time budget is the user experience.</p><pre>struct MyGarageVisualSearchQuery: IntentValueQuery {<br>  func values(for input: SemanticContentDescriptor) async throws -&gt; [VisualSearchResult] {<br>    let subject = VisualIntelligenceLabels.subject(of: input.labels)   // car | paper | unknown<br>    let jpeg = FrameImage.jpeg(from: input.pixelBuffer)                  // 1024 px, ~120 KB<br>    async let lines  = FrameBudget.run(seconds: 1.2) { await FrameOCR.lines(in: jpeg) }<br>    async let fields = FrameBudget.run(seconds: 4.0) { await FrameAI.fields(for: jpeg) }<br>    var facts = FrameFacts.text(await lines ?? [])<br>    if let fields = await fields ?? nil { facts.merge(FrameFacts(fields: fields)) }<br>    let match = FrameMatcher.match(facts, subject: subject, index: SystemIndexStore.all())<br>    return assemble(match)   // matches, &quot;Add this receipt&quot;, recent receipts<br>  }<br>}</pre><h3>Three readers, one matcher</h3><ol><li><strong>Apple’s label</strong> picks the pool: car → cars; receipt, document, ticket → documents and expenses.</li><li><strong>Vision OCR</strong> (RecognizeTextRequest, accurate, automatic language) returns the text lines in about 0.5 s on device.</li><li><strong>Gemini Flash-Lite</strong> returns fields, not prose: kind, vendor, make, model, plate, date. It is one REST call to the Firebase AI Logic endpoint.</li></ol><h3>Conclusion</h3><p>Working with Siri, Spotlight and Visual Intelligence was fun. Connecting Swift to React Native was the hard part, mostly because the two run at different moments and neither can assume the other is awake. It was worth it. What the app gained:</p><ul><li><strong>Fewer taps.</strong> Log fuel by saying it, find a receipt by typing its vendor, or by pointing the camera at it. The app opens on the right screen instead of the home tab.</li><li><strong>Records that show up where people already look.</strong> Spotlight and Siri now treat a car document like a note or an email: searchable from the Home Screen, openable without knowing which app holds it.</li><li><strong>A shortcut for the most common chore.</strong> A receipt you have not filed yet is one tap from becoming an expense, with vendor, date and amount already read.</li><li><strong>Nothing rewritten.</strong> React Native still owns the data and the screens. Nine Swift files, one JSON mirror and one deep link added the three features, and the same payload gives Android device search for free.</li></ul><p>Try it yourself. <a href="https://mygaragedocs.com/app">Install MyGarage</a> from the App Store, add a few receipts, then point the camera at one of them and tap Search. Siri and Spotlight need iOS 18; Visual Intelligence needs iOS 26 on an iPhone with Apple Intelligence. And you can try other features on Android as well. We will keep updating our tech stack at our <a href="https://mygaragedocs.com/how-mygarage-talks-to-ios">web site</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9c61c53b612" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I put Apple Intelligence inside my car app — and why it quietly hands off to Gemini]]></title>
            <link>https://medium.com/@dariydzyndra/how-i-put-apple-intelligence-inside-my-car-app-and-why-it-quietly-hands-off-to-gemini-1f179e770e2e?source=rss-8318e3dc7b29------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f179e770e2e</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[apple-intelligence]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[ios-development]]></category>
            <dc:creator><![CDATA[Dariy Dzyndra]]></dc:creator>
            <pubDate>Thu, 16 Apr 2026 14:01:01 GMT</pubDate>
            <atom:updated>2026-04-17T06:44:03.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8iMLWEWH1_K7u3IUfdiGZw.jpeg" /><figcaption>Apple Intelligence logo</figcaption></figure><h3>A small app with a big AI</h3><p><a href="https://mygarage-1fe31.web.app/app.html">MyGarage</a> is a side project of mine — a car management app for people who hate spreadsheets. You scan a service invoice, the app reads it, tags it, files it, and reminds you when the next oil change is due. To do any of that, I needed a language model. And I needed one that wouldn’t make me send every user’s registration paper, license plate and insurance policy into the cloud.</p><p>So when Apple <a href="https://www.apple.com/newsroom/2025/02/apple-intelligence-expands-to-more-languages-and-regions-in-april/">announced in February 2025</a> that Apple Intelligence was expanding to French, German, Italian, Portuguese, Spanish, Japanese, Korean and Simplified Chinese in April, my first thought wasn’t about Writing Tools or Genmoji. It was: <em>finally, I can ship my AI features without a cloud bill.</em></p><p>Then iOS 26 dropped Foundation Models — the actual developer API — and I got to work.</p><h3>First, a quick tour of the pieces</h3><p>Apple Intelligence isn’t one product. It’s a stack. Worth getting the terminology right before we go further:</p><ul><li><strong>On-device models.</strong> A ~3B parameter model that runs on the Neural Engine of any iPhone 15 Pro, iPhone 16, iPad with M1+, or Mac with M1+. This is what <a href="https://support.apple.com/en-is/121115">Apple Intelligence</a> uses for most of its native features (Writing Tools, summaries, Siri basics) — and, from iOS 26, what developers can call through the <strong>Foundation Models</strong> framework.</li><li><strong>Private Cloud Compute.</strong> Apple-run servers with the same privacy guarantees as on-device. Used when the on-device model isn’t enough.</li><li><strong>ChatGPT integration.</strong> A completely separate path: when Siri or Writing Tools encounter something the Apple models can’t handle well, the user is explicitly asked — <em>“Send this to ChatGPT?”</em> — and only then does the request leave Apple’s trust boundary.</li></ul><p>That last part matters for how I tell users about privacy. ChatGPT is <strong>opt-in, prompt-by-prompt</strong>, and if you’re not signed into an OpenAI account, <a href="https://www.apple.com/legal/privacy/data/en/chatgpt-extension/">OpenAI doesn’t log your request, doesn’t store it, and can’t use it for training</a>. Apple obscures your IP. It’s the most privacy-preserving way to use GPT-4 that currently exists.</p><p>For MyGarage, I don’t touch ChatGPT at all — my fallback for harder tasks is Google Gemini, which I’ll get to. But the architecture Apple set up with ChatGPT is exactly the mental model I built my app around: <em>try on-device first, fall back only when necessary, and make the fallback invisible enough that users don’t have to think about it.</em></p><h3>Why I put Apple Intelligence first, and Gemini second</h3><p>Most indie devs ship AI by slapping an OpenAI or Gemini SDK into their app. That works. It also means every request, every OCR’d receipt, every car document, passes through someone else’s servers. And it costs money per token.</p><p>Apple Intelligence flipped both problems for me:</p><ol><li><strong>Privacy is the product.</strong> MyGarage stores documents 100% locally. Telling users <em>“your data never leaves your iPhone”</em> only works if the AI features don’t quietly break that promise. Foundation Models let me keep the promise.</li><li><strong>Free beats $0.000/token.</strong> Every classification, every tag suggestion, every auto-generated title that runs on-device is a request I don’t pay for. At scale, that’s meaningful. At indie-dev scale, it’s the difference between the AI feature existing or not.</li><li><strong>Latency.</strong> On-device inference is genuinely fast — the model is already resident in memory, no network round-trip.</li></ol><p>So I designed it as: <strong>Apple first, Gemini on fallback, always silent to the user.</strong></p><h3>What the on-device model actually does in the app</h3><p>There are four places Apple Intelligence earns its keep inside MyGarage:</p><p><strong>1. Document classification.</strong> You scan an insurance policy. OCR extracts the text. I hand the text to the on-device model with a list of category keys — insurance, service, registration, fuel_receipt, etc. — and ask for exactly one. It comes back with a key. I route the document.</p><p><strong>2. Predefined tag suggestions.</strong> I maintain 35 predefined tags across seven categories — things like oil_change, brakes, invoice, warranty. The on-device model reads the document text and picks the 1–5 that apply. These become coloured chips on the document card.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0F15kDpjZ5q9VkKCTKUFrg.png" /><figcaption>AI tags for uploaded and recognized files and suggestions which folder to put in</figcaption></figure><p><strong>3. Title generation.</strong> Instead of IMG_4823.heic, the document ends up titled &quot;Service Invoice for MERCEDES E220CDI&quot;.</p><p><strong>4. Car insights.</strong> On the main car screen I show three short, specific tips — “Your insurance expires in 18 days,” “Brake pads were replaced 12,000 km ago — next check around 50,000 km,” that kind of thing. This one’s my favourite because it feels the most <em>personal</em> — the model sees a condensed view of the user’s entire garage and picks three things worth calling out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*vQTo2DfgXCL63-JUCqX3BQ.png" /><figcaption>AI generated insights based on the data user entered earlier</figcaption></figure><h3>Challenge — The Siri-and-device-language handshake</h3><p>This was the first wall I hit, and it’s the one I still get questions about.</p><p>To use Apple Intelligence on a physical device, <strong>the device language and the Siri language have to match, and both have to be one of the supported languages.</strong> That’s it. If your phone is set to German but Siri is English, Apple Intelligence is unavailable. If both are set to Turkish, still no — Turkish is supported only from iOS 26. It’s a deceptively small thing that breaks testing assumptions.</p><blockquote>The lesson: when you’re building for Apple Intelligence, you’re not just targeting a device — you’re targeting a <strong>device configuration</strong>. That’s another reason why I have a fallback to Gemini.</blockquote><h3>Apple Intelligence VS Google Gemini.</h3><p>Let’s compare performance and output of the same prompt from Apple Intelligence and Gemini (<em>gemini-2.5-flash-lite</em>)</p><pre>MAIN SCREEN: [CarInsightsCard:all] 🍎 Apple AI (2492ms):<br>[<br>    &quot;Urgent: Your insurance is expiring soon, renew before next service.&quot;,<br>    &quot;Upcoming: Scheduled service on 4/15/2026 includes fuel and parts check.&quot;,<br>    &quot;Costs: Recent service cost 585.67 EUR, total expenses 615.67 EUR, fuel cost 30 EUR.&quot;<br>]<br><br>MAIN SCREEN: [CarInsightsCard:all] ✦  Gemini  (1714ms):<br>[<br>    &quot;Next major service due around 4/15/2028 or mileage.&quot;,<br>    &quot;Insurance policy renewal due soon. Check premium.&quot;,<br>    &quot;Recent extensive service completed. Monitor for issues.&quot;<br>]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KsRnokrnwD_Jr_l7gFtY7g.png" /><figcaption>Apple Intelligence VS Google Gemini</figcaption></figure><p>I have repeated that experiment on other screens as well with different context, Gemini is always faster, but the results from apple are more accurate I would say, and most importantly — at no cost for me.</p><h3>Conclusion</h3><p>Apple Intelligence isn’t going to replace the big frontier models. But if what you’re building needs privacy, speed, and zero marginal cost for 80% of requests such as text summarization, suggestions or autocomplete — it’s already the best tool for the job.</p><p>And if Apple Intelligence is not available or not capable to handle it? That’s what Gemini can easily do!</p><p><em>MyGarage is available on the </em><a href="https://apps.apple.com/us/app/mygarage-cardocs-history/id6757166595"><em>App Store</em></a><em> and </em><a href="https://play.google.com/store/apps/details?id=com.dariydsoft.mygarage"><em>Google Play</em></a><em>. The Foundation Models integration ships on iOS 26 devices with Apple Intelligence enabled. On android only Gemini model is used without any device requirements.</em></p><p><strong>Sources:</strong></p><ul><li><a href="https://www.apple.com/newsroom/2025/02/apple-intelligence-expands-to-more-languages-and-regions-in-april/">Apple Intelligence expands to more languages and regions in April (Apple Newsroom, Feb 2025)</a></li><li><a href="https://support.apple.com/en-is/121115">About Apple Intelligence (Apple Support)</a></li><li><a href="https://www.apple.com/legal/privacy/data/en/chatgpt-extension/">ChatGPT Extension &amp; Privacy (Apple Legal)</a></li><li><a href="https://help.openai.com/en/articles/10263313-what-is-apple-intelligence">What is Apple Intelligence? (OpenAI Help Center)</a></li><li><a href="https://learnprompting.org/blog/apple_intelligence">Inside Apple Intelligence: Key Features, Integration with ChatGPT and Privacy Concerns (Learn Prompting)</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f179e770e2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Will AI Replace Software Developers? I Tested It by Shipping 2 Apps to the App Store.]]></title>
            <link>https://medium.com/@dariydzyndra/will-ai-replace-software-developers-i-tested-it-by-shipping-2-apps-to-the-app-store-aa1274c6a11a?source=rss-8318e3dc7b29------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa1274c6a11a</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Dariy Dzyndra]]></dc:creator>
            <pubDate>Sun, 22 Mar 2026 08:02:23 GMT</pubDate>
            <atom:updated>2026-03-22T08:32:28.123Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLCdbLgIbr2njvsurXtdqw.png" /></figure><h4><strong>The Hype That Started It All</strong></h4><p>If you’ve been anywhere near tech Twitter in early 2026, you’ve seen the headlines.</p><p>Amazon <a href="https://x.com/TechLayoffLover/status/2031904439653597419">confirmed 16,000 layoffs </a>— and internal sources suggest this is just “Phase One.” Reports claim entire engineering teams at AWS are being replaced by automated workflows powered by Anthropic’s Claude, with small clusters of senior engineers managing workloads that previously required dozens of people.</p><p>Meta, Google, and others followed with their own cuts. The message from Wall Street was clear: <strong>AI is here, and you need fewer humans.</strong></p><p>Meanwhile, my feed was full of viral posts: <em>”I built a production-ready SaaS in 30 minutes with Cursor!”</em> and <em>”Just shipped my startup MVP without writing a single line of code!”</em></p><p>As a software developer with 15 years of experience, I was skeptical. But also curious.</p><p>So I decided to test it myself.</p><h4><strong>The Experiment</strong></h4><p>I set a challenge: <strong>build an app from scratch and publish it to the App Store using only AI.</strong> No manual coding — just me as the architect, and AI as the developer.</p><p>The timing was right. I’d been experimenting with on-device ML: building a React Native package for document scanning, playing with text recognition via VisionKit on iOS, and testing object detection on Android. I had a real use case — an app to store and process documents entirely on-device using ML, with instant full-text search across all my files.</p><p>Two birds, one stone: test AI coding capabilities <em>and</em> build something I actually needed.</p><h4><strong>Phase 1: The “Vibe Coding” Disaster</strong></h4><p>I started in early October 2025 with <strong>Cursor</strong> and the <strong>GPT-5.1</strong> model.</p><p>Even with 15 years of experience, I didn’t just say “build me an app.” I provided a full architecture document: package descriptions, screen layouts, data models, and execution phases broken into iterations.</p><p><strong>My expectation:</strong> a working project in under 30 minutes. You know, like the Twitter posts promised.</p><p><strong>What happened:</strong> The AI agent completed Phase 1 of my plan, then hit the context window limit and decided to skip the remaining phases. It wrapped up with a “more or less working” solution and called it done.</p><p>What I got was nowhere near what I’d described. It was far from my idea, far from a working state, and light-years from App Store submission.</p><p><strong>I deleted the entire project.</strong></p><h4><strong>Phase 2: The Architect Approach</strong></h4><p>I started over with a completely different strategy. Instead of handing AI a plan and expecting a finished product, <strong>I became the tech lead and treated AI as a senior developer.</strong></p><p>Here’s what changed:</p><ul><li><strong>I gave tasks one at a time</strong>, not a full plan</li><li><strong>I described the architecture</strong> — which technologies, which packages, which patterns</li><li><strong>I specified screens and components</strong> — not just “build a document viewer,” but exactly how it should work</li><li><strong>I defined data schemas</strong> — Realm models, store structure, navigation flow</li><li><strong>I reviewed every change</strong> before moving to the next task</li></ul><p>This is <strong>prompt engineering</strong>, not vibe coding. And it made all the difference.</p><h4><strong>The Tools: A Battle-Tested Comparison</strong></h4><p>Over 5 months, I used three AI coding environments and five different models. Here’s what I found.</p><p><strong>IDEs</strong></p><p><strong>Cursor</strong> — where I started. Solid IDE, good integration, familiar VS Code base. I used it for most of the first project and returned to it after trying alternatives.</p><p><strong>Antigravity (Google)</strong> — I switched to this when it launched, curious about using Gemini Pro natively. Interesting concept, but it had bugs and lacked features I relied on in Cursor. I went back after a few weeks.</p><p><strong>Claude Code</strong> — the game-changer. I started using it as a terminal tool and VS Code extension during my second project. Now it’s the <strong>only way I write code.</strong> Planning, coding, fixing, documentation, even orchestrating teams of parallel coding sessions. It’s not just an IDE — it’s a workflow.</p><p><strong>Models</strong></p><ul><li><strong>GPT-5.1</strong> — Good for simple tasks, struggles with complex architecture</li><li><strong>Grok</strong> — Interesting but inconsistent</li><li><strong>Gemini Pro</strong> — Decent initially, quality drops sharply on complex tasks</li><li><strong>Claude Sonnet</strong> — <strong>Excellent.</strong> Strong planning, fewer errors, understands context</li><li><strong>Claude Opus 4.5/4.6</strong> — <strong>Best in class.</strong> Massive jump in code quality, complex implementations, architectural reasoning</li></ul><p>The gap between Claude and other models on complex, multi-file tasks isn’t small — it’s a canyon. When Opus 4.5 dropped in November 2025, the improvement in code quality was immediately noticeable. Opus 4.6 (February 2026) pushed it even further.</p><p>&gt; <strong>Winner — IDE:</strong> Claude Code</p><p>&gt; <strong>Winner — Model:</strong> Claude (Sonnet for speed, Opus for quality)</p><p>&gt; <strong>Winner — Price/Performance:</strong> Claude Code</p><h4><strong>The Results</strong></h4><p><strong>App 1: FileNest — AI Document Organizer</strong></p><p><strong>Timeline:</strong> October 2025 → January 2026 (3 months, nights &amp; weekends only)</p><p>A document scanner and organizer with on-device OCR, AI classification, and full-text search. Built with React Native, Realm, and custom ML packages.</p><figure><a href="https://apps.apple.com/us/app/filenest-ai-docs-organizer/id6756841050"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vsouC8o2V6FnuyzerOQoZQ.png" /></a><figcaption>FileNest is available on AppStore now</figcaption></figure><p><a href="https://apps.apple.com/us/app/filenest-ai-docs-organizer/id6756841050">Download FileNest on the App Store</a></p><p><strong>App 2: MyGarage — Car Documents &amp; History</strong></p><p><strong>Timeline:</strong> January → March 2026 (2 months, same working schedule)</p><p>I took everything I learned from FileNest and built a more ambitious app — a complete car document management system. This time I had better tools (Claude Code + Opus 4.5/4.6) and all the patterns from the first project.</p><figure><a href="https://apps.apple.com/us/app/mygarage-cardocs-history/id6757166595"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WtVM_nsT1Gv-x4p_uhgHLw.png" /></a><figcaption>MyGarage is available on AppStore now</figcaption></figure><p><a href="https://apps.apple.com/us/app/mygarage-cardocs-history/id6757166595"><strong>Download MyGarage on the App Store</strong></a></p><p>&gt; <strong>Important context:</strong> I work full-time on a commercial project. Both apps were built entirely during evenings, weekends, and holidays.</p><p><strong>What I Actually Built (MyGarage Complexity)</strong></p><p>To put the “AI replaced my coding” claim in perspective, here’s what the second app looks like under the hood:</p><ul><li><strong>Screens: </strong>31</li><li><strong>Reusable Components:</strong> 40</li><li><strong>TypeScript/TSX Files:</strong> 180</li><li><strong>Lines of Code:</strong> 41,000+</li><li><strong>Realm Database Schemas:</strong> 18 entities</li><li><strong>Zustand Stores:</strong> 7</li><li><strong>Localized Languages:</strong> 9 (EN, DE, ES, FR, IT, UK, NL, PT, SV)</li><li><strong>AI Providers:</strong> 2 (Apple Intelligence + Google Gemini)</li><li><strong>iOS Native Modules:</strong> iCloud Backup, Document Viewer, Share Extension and a bunch of my native ML based <a href="https://www.npmjs.com/settings/dariyd/packages">npm</a> packages</li></ul><p><strong>Tech stack:</strong> React Native 0.83 (New Architecture), React 19, TypeScript 5.8, Realm v20, Zustand, i18next, Firebase, Sentry.</p><p><strong>Key features:</strong> Document scanner with OCR, automatic files management 35 predefined smart tags and AI/ML tags detection, AI auto-filing, service timeline with component tracking, expense management with receipt scanning, insurance manager, AI chat, iCloud backup, passcode + biometrics security.</p><blockquote>This is not a weekend prototype. This is a production app with real complexity — and AI helped me build it.</blockquote><h4><strong>The Hidden Risks of Vibe Coding</strong></h4><p>Before you fire your engineering team, consider these realities that most “I built it with AI” posts conveniently skip:</p><p><strong>1. You’re Debugging Someone Else’s Code</strong></p><p>When you write code yourself, you build a mental map. At 3 AM when an alert fires, you intuitively know where the problem likely is. With AI-generated code, you’re debugging a stranger’s codebase under pressure — and that’s a fundamentally different situation.</p><p>I personally hate debugging code I didn’t write. And here’s the thing — after 2–3 rounds of AI “fixes” the code becomes such a mess that it’s nearly impossible to understand what’s going on. You can’t debug it. You can’t easily fix it. The AI tries to fix its own AI-generated code, and the result is just… more code. Layers of patches on top of patches, with the original logic buried somewhere underneath.</p><p><strong>2. Context Is Everything (And AI Doesn’t Have Yours)</strong></p><p>Since “<em>you”</em> didn’t write the code, you can’t fully grasp all the connections between components that were generated. You might scan it and catch something obviously dangerous — sure. But having the deep understanding needed to spot edge cases? That becomes exponentially harder.</p><p>And no — adding “use best practices” to your prompt doesn’t prevent these problems. AI doesn’t know your context, your project, or your requirements. Its context is limited, and it will find whatever trade-off lets it produce a successful-looking output — sometimes ignoring the very “best practices” you asked for.</p><blockquote>This happened to me: I asked an AI agent to check performance. Instead of just reporting issues, it “optimized” fully working code — broke it, and introduced a memory leak by memoizing everything. Because apparently, “best practice” meant wrapping every function in “<strong>useMemo</strong>” regardless of whether it made sense.</blockquote><p>AI doesn’t know your load patterns, it can’t make the conscious trade-offs that experienced engineers make.</p><p><strong>3. Testing Becomes a Guessing Game</strong></p><p>How do you properly test code you don’t fully understand? You can write end-to-end tests for the happy path, but how do you verify that nothing breaks under the hood? The lack of context makes meaningful test coverage nearly impossible.</p><p>And AI won’t tell you about problems unless you specifically ask. Recently I saw a post about how vibe coding led to API keys and secrets being deployed in client-side code — creating a vulnerability that caused massive financial losses for both customers and the product owners of that “very successful startup” built in two days. The AI didn’t flag the security issue. It just did what it was told.</p><p><strong>4. Code Evolves — And Vibe Code Rots</strong></p><p>A production feature doesn’t end at deploy. In a month, requirements change. In three months, you need to refactor for new load patterns. If you don’t understand the architectural decisions that were made — and with vibe-coded projects, you often don’t even know decisions <em>were</em> made — maintenance becomes a minefield.</p><h4><strong>Conclusion</strong></h4><p>So, will AI replace software developers? — <strong>Many, but not all.</strong></p><p>But first — let me be clear about the other side of this. The power of AI for software development is real, and it’s massive.</p><p><strong>Claude Opus</strong> in particular blew me away. This isn’t just autocomplete on steroids. It genuinely understands complex architectural patterns, plans multi-step implementations, reasons about data flow across components, and produces code that feels like it was written by a senior engineer who read your entire codebase. When I needed to design a Realm schema with 18 entities, wire up Zustand stores with persistence, or implement a two-step AI classification pipeline — Opus didn’t just write the code, it <em>understood the architecture</em> and made design decisions that made sense.</p><p><strong>Let me put that in perspective with real numbers.</strong></p><p>MyGarage — 31 screens, 41,000+ lines of code, 18 database entities, 3 native iOS modules, 9 languages, two AI providers — was built by <strong>one person, working evenings and weekends, in 2 months.</strong></p><p>A traditional development team for an app of this scope? You’d need at minimum (I’m skipping the fact all native modules for ML/VisionKit supporting ios and android were written by me before):</p><ul><li>2 React Native developers (1 mid-to-senior, 1 architect)</li><li>1 iOS native developer (for iCloud backup, Share Extension, Document Viewer)</li><li>1 designer</li><li>1 QA engineer</li></ul><p>That’s a team of 5. Working full-time, you’re looking at <strong>3–4 months</strong> and a budget somewhere around <strong>$100,000–$150,000</strong> depending on your market.</p><p><strong>I did it solo, in my free time, spending roughly $200/month on Claude API credits.</strong></p><blockquote>That’s the power of AI when you know how to use it. It didn’t replace me — it replaced the 4 people I couldn’t afford to hire.</blockquote><p><strong>But here’s the catch</strong></p><p>AI is incredibly powerful for:</p><ul><li>MVPs and prototypes — you can ship fast</li><li>Repetitive CRUD and boilerplate</li><li>Localization and translations (I did 9 languages with AI help)</li><li>Documentation and metadata</li><li>Pattern-based implementations where architecture is already defined</li><li>Complex multi-file implementations — when guided by an architect who knows what they want</li></ul><p>AI still <strong>cannot replace:</strong></p><ul><li>Software architects who design systems</li><li>The engineering judgment to make conscious trade-offs</li><li>Deep debugging of production issues at 3 AM</li><li>Understanding <em>why</em> a system was built a certain way, not just <em>what</em> it does</li><li>The human who reviews every line and says “no, that’s not right”</li></ul><blockquote><strong>AI is a powerful tool, but it amplifies engineers — it doesn’t replace engineering thinking.</strong></blockquote><p>The key shift is from <strong>writing code</strong> to <strong>directing code.</strong> The developers who will survive are the ones who know how to design a system, break it into small tasks, read what AI gives you and say “nope, redo this” — and explain <em>why</em> it’s wrong.</p><p>That’s not fewer skills. That’s <em>different</em> skills — and arguably harder ones.</p><p>But if you have those skills? AI — and specifically tools like Claude Code with Opus — turns you into a one-person engineering team. And that changes everything.</p><h4><strong>P.S.</strong></h4><p>As I was finishing this article, this headline dropped:</p><p><a href="https://fortune.com/2026/03/12/amazon-retail-site-outages-ai-agent-inaccurate-advice/"><strong>Amazon puts humans further back in the loop as its retail website crashes from “inaccurate advice” that an AI agent took from an old wiki</strong></a></p><p>An AI agent at Amazon caused <strong>four high-severity incidents in a single week</strong>, including a six-hour outage that locked customers out of checkout. The cause? The AI followed outdated advice from an internal wiki.</p><p>Amazon’s response? Add more human approval requirements for AI-assisted changes.</p><p>The same company laying off 16,000 engineers to replace them with AI… is now adding humans back because the AI broke their website.</p><p><strong>Humans are still needed. It’s too early to fire all the developers.</strong></p><p><em>If you found this useful, follow me for more real-world AI development experiences. I’m currently building my next project — entirely with Claude Code.</em></p><p><em>Have questions about my setup or workflow? Drop a comment below.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa1274c6a11a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>