The Mobile App Landscape
How native, cross-platform and web-based apps differ, and what the app lifecycle and app stores mean for the way you build software.
Beginner · about 3 hours · difficulty 1/5
A mobile app is a program that runs inside a strict sandbox controlled by the operating system. Unlike a web page, it is installed from a store, can be killed at any moment to save memory, runs on a battery, and often works on a flaky network. Almost every design decision you make later traces back to these constraints.
Three ways to build
- Native: Kotlin for Android, Swift for iOS. Full access to platform APIs and the best fidelity, but two codebases.
- Cross-platform: React Native or Flutter. One codebase that ships to both stores. React Native renders real native views; Flutter draws every pixel with its own engine.
- Web-based: PWAs or WebView wrappers. Cheap to start, but limited device access and a less native feel.
The app lifecycle
Apps move between states such as *foreground*, *background* and *terminated*. The OS can suspend you without warning, so you must save important state early, release resources when backgrounded, and restore the screen the user was on when they return.
Two gatekeepers
Apple and Google review, sign and distribute your app. That means release cycles are slower than on the web, rollbacks are harder, and store policies (privacy labels, permission justifications) are part of engineering work.
Good enough to move on: you can explain the trade-offs between native and cross-platform to a teammate and describe what happens to an app when the user presses the home button.
Key concepts
- Native vs cross-platform vs web
- App sandbox and OS constraints: Memory, battery, background limits
- App lifecycle states
- How app stores distribute and review apps
- Progressive Web Apps: Useful comparison point, not the focus here
- Android and iOS market share by region
Mini project
Write a one-page comparison for a fictional food-delivery startup recommending native, React Native or Flutter, with three reasons and one risk for your pick.
Check yourself
Why can't a mobile app assume it will keep running after the user switches to another app, and what should it do about it?
Free resources
- Android app fundamentals (Android Developers)
- React Native: Introduction (React Native)
- Flutter documentation (Flutter)