Web, iPhone or Android
5 minA product can live on the web, in native iPhone and Android apps, or in one codebase that reaches both phones. Start on the web, and move to the phone when the product needs it.
Lesson video
Tastebud · 5:16 · Captions on screen
Start on the web; move to the phone when it needs the camera, notifications, offline use or a store listing.
- Why. A link opens on any phone or laptop with nothing to install, and a fix is live once you deploy. An app adds store review, two platforms and downloads.
- Real example. Instamart started with hybrid screens. When long grocery lists hung and pages loaded slowly, Swiggy rebuilt its home and search in Swift and SwiftUI from early 2024. (Swiggy, Nov 2026)
- When to break it. Start on the phone when the camera is the whole idea, like scanning a restaurant menu to search it. Swiggy built that for Dineout with native iPhone tools.
- Common mistake. Building two native apps for a first version. Two people write every screen twice, once in SwiftUI and once in Jetpack Compose, before anyone has asked for the product.
Our take. Build for the web first, even if you picture an app. A link reaches every phone and laptop on day one, and you'll learn which phone features people need before paying for two platforms.
Four needs pull a product onto the phone
A web page opens anywhere from a link. The phone wins when the camera is central, when reminders must arrive, when people need it offline, or when it should sit in the App Store and Google Play. Here's where real cases land.
- A shared Canva design opens from a link in an email
- A poster gets edited on a locked work laptop, no install needed
- Camera: Swiggy built Dineout's menu scanning with native iPhone tools
- Reminders: an iPhone web app can notify only once added to the Home Screen
- Offline: an app keeps its screens; a web page needs a service worker
- Store listing: only store apps appear when people search the App Store
Native apps, or one codebase for both phones
Native means SwiftUI for iPhone and Jetpack Compose for Android: two codebases, each with its phone's full feel. React Native with Expo is one codebase that becomes both apps. Your laptop matters too, since Xcode needs a Mac.
- Each phone's own look, and new features first
- Two codebases, so every screen is built twice
- SwiftUI needs Xcode 27.2 on an Apple silicon Mac
- Compose needs Android Studio, free on Mac, Windows or Linux
- One codebase for iPhone and Android
- Draws each phone's own native views
- Expo SDK 58 runs on iOS 16.4+ and Android 7+
- Expo's cloud builds the iPhone app, even from Windows
Part 5 teaches all three: SwiftUI in Module 15, Compose in Module 16, Expo in Module 17.
Swiggy moved its busiest screens to native first
Swiggy's food app was always native, but Instamart and Dineout started as hybrid screens. As they grew, pages loaded slowly and long lists hung. From early 2024, Swiggy rebuilt their home and search in Swift and SwiftUI first.
Swiggy went native one busy screen at a time
- Food app, always native. Swiggy's food ordering was built natively from the start.
- Instamart and Dineout, hybrid. Both grew fast this way, until the team hit limits in speed and stability.
- Slow loads, hangs, uneven animation. Long grocery lists hung the app, and Dineout's photos and videos were held back.
- 2024: home and search in SwiftUI. The screens with the most traffic went first, in phases, with no full rewrite.
- One design system for all three. Food, Instamart and Dineout now share components, and ratings and conversion went up.
Try it
Pick a platform for three real products
For each product, decide where its first version should live, and then how to build it. Read what each choice costs.
Quick check
A design meetup in Pune needs an RSVP form people open from a link in an Instagram bio. Where should it live?
Watch next
Watch it for How React Native turns one JavaScript codebase into apps that use each phone's own views.
Watch it for What a web app needs before people can install it from the browser and use it offline.
Connects to: 15.1 Your first SwiftUI screen · 16.1 Your first Compose screen · 17.1 React Native and Expo
Sources · checked Nov 2026
- Apple Developer News: Swiggy's transition to native pays off (1 Sep 2026)Swiggy Food was always native; Instamart and Dineout started as hybrid experiences and scaled rapidly; in early 2024 Swiggy decided to move them to native with Swift and SwiftUI, starting with home and search, in phases, no full rewrite; first replicated the old UI, then adopted native design patterns, improving reuse; problems were high page load times, hangs on large SKU lists, memory pressure, inconsistent animations, constrained images and video on Dineout, and no access to the latest native capabilities; results were faster loads, smoother scrolling, better engagement, completion rates and app ratings, higher conversion; one design system across Food, Instamart and Dineout; OCR for Dineout menu search and grocery list scanning for Instamart on native iOS capabilities; an audience in the millions
- WebKit blog: Web Push for Web Apps on iOS and iPadOS (16 Feb 2023)From iOS 16.4, a web app added to the Home Screen can ask permission to send push notifications
- Apple Developer Documentation: Sending web push notifications in web apps and browsers'Add web push to Home Screen web apps in iOS 16.4 or later and Webpages in Safari 16 for macOS 13 or later'
- Duolingo blog: Duolingo 101Download the app from the App Store or Google Play; new learners can turn on notifications to set a study schedule; reminders help make studying a habit
- Canva Developers: Mobile design guidelines'Open Canva on a mobile device, either via the browser or with the iOS or Android app'; Canva apps must support desktop devices
- Canva Developers: PrerequisitesCanva runs in a web browser ('a relatively modern web browser') and has a desktop app
- Canva on the App Store (listing)Canva has an iPhone app, and projects sync across phone, tablet and computer
- Expo Docs: Notifications (expo-notifications)expo-notifications can schedule, present and receive notifications
- Expo Docs: Expo BuildA hosted service that builds app binaries; iOS builds run on macOS machines in Expo's cloud
- Expo changelog: SDK 58Expo SDK 58 (15 Oct 2026) ships React Native 0.88
- Expo Docs: SDK versions tableSDK 58.0.0 supports Android 7+ and iOS 16.4+
- React Native Docs: Core Components and Native ComponentsAt runtime, React Native creates the matching Android and iOS views for its components
- React Native blog: React Native 0.88React Native 0.88 (19 Oct 2026); 0.88.1 is the current stable release
- Xcode on the Mac App StoreXcode 27.2 needs macOS Tahoe 26.6 or later on an Apple silicon Mac
- Android Studio download pageAndroid Studio Rabbit 2, 2026.2.2, free for Mac, Windows and Linux
- Jetpack Compose BOM to library mappingCompose BOM 2026.11.01 maps to Compose 1.13.0
- Apple Developer Program: EnrollPublishing on the App Store costs US$99 a year
- Play Console Help: Register for a developer accountA Google Play developer account costs US$25 once
- MDN: Service Worker APIA service worker lets a web app work offline by handling requests and caching files