mobile/native-web-or-cross-platform-how-apps-get-from-your-code-to-a-phone.md
Native, web or cross-platform? How apps get from your code to a phone
Every app idea hits the same fork in the road. Build it native in Swift for iPhone and Kotlin for Android, build it for the web with HTML, CSS and JavaScript, or build it cross-platform with Flutter or React Native.
The choice decides your language, whether you need an app store, how well the app works offline, how much of the phone you can reach, and whether you maintain one codebase or two. See what sits between your code and the phone for each approach, then try the chooser on your own idea.
$ ls mobile/
see all →
mobile/screen-readers-how-a-phone-decides-what-to-say-about-a-button-it-can-t.md
Screen readers: how a phone decides what to say about a button it can't see
A phone screen reader like VoiceOver or TalkBack can't see your pictures. It reads a hidden list of items, each with a role, a label and a…
mobile/tap-scroll-or-long-press-how-a-phone-decides-what-your-finger-meant.md
Tap, scroll or long press: how a phone decides what your finger meant
A touchscreen only reports a finger going down, moving, and coming up. So how does your phone tell a tap from a scroll from a long press?…
mobile/dropped-frames-why-one-slow-function-freezes-a-phone-screen.md
Dropped frames: why one slow function freezes a phone screen
You tap a button and your phone screen freezes for a moment, even though the app did not crash. The reason is that one thread both listens…
mobile/list-recycling-why-a-phone-can-scroll-10-000-contacts-while-building-o.md
List recycling: why a phone can scroll 10,000 contacts while building only 8 rows
A phone can scroll through 10,000 contacts without building 10,000 rows. It builds only enough row views to cover the screen, then recycles…
mobile/push-notifications-how-your-phone-buzzes-for-an-app-that-isn-t-running.md
Push notifications: how your phone buzzes for an app that isn't running
Your phone buzzes with a message from an app that isn't even running. How? Phones keep one shared connection to a push service (Apple's…
mobile/offline-sync-what-happens-when-two-phones-edit-the-same-contact.md
Offline sync: what happens when two phones edit the same contact
You edit a contact's phone number on a plane. Your partner fixes the city on a tablet. Both devices are offline, then both reconnect. Which…