What is fragmentation?
FragmentationFragmentationThe huge variety of device models, screen sizes and OS versions an app must support.Open in glossary → means your app runs on a huge variety of devices that differ in many ways at once:
| Dimension | Examples | Why it matters |
|---|---|---|
| Screen size & shape | 4.7″ iPhone SE, 6.7″ phones, tablets, foldables, notches and punch-holes | Layouts overflow, get cut off or look stretched |
| Pixel density | 160 to 640+ dpi on Android, @2x and @3x on iPhone | Blurry images, wrong sizes if the app uses pixels instead of dp/pt |
| OS version | iOS 17–26, Android 11–16 at the same time | Different permissions, APIs and behaviors |
| Manufacturer skin | Samsung One UI, Xiaomi HyperOS, OPPO ColorOS, stock Pixel | Different fonts, settings, battery savers, sharing and permission screens |
| Hardware power | 2 GB to 16 GB RAM, budget vs flagship chips | Slow screens, memory crashes, the app killed in the background |
| Form factor | Phones, tablets, foldables (folded and unfolded), Chromebooks | Layout must adapt when the screen changes size at runtime |
| Other hardware | Cameras, sensors, NFC, fingerprint vs face unlock | Features that only fail on some devices |
| User settings | Font size, display size, dark mode, language, battery saver | The same phone behaves differently for different people |
Android has tens of thousands of device models from hundreds of makers. Apple only sells a few dozen iPhone and iPad models, but even there you still have small and large screens, older and newer iOS versions, and iPad multitasking.
Why it matters
- Your users don’t own your test phones. Teams usually test on new, expensive devices. Many users have older, cheaper or smaller ones.
- Device-specific bugs are hard to reproduce. “It works on my phone” is the start of the conversation, not the end. Without the device details, developers can’t fix the bug.
- Bad reviews are public. An app that crashes on a popular budget phone gets one-star reviews from all of its owners.
- You can’t test everything. That’s the real lesson: you need a smart, small set of devices that represents your users. It’s a form of compatibility testingCompatibility testingChecking the product works across different devices, OS versions, browsers and screen sizes.Open in glossary →.
Check this part
What is device fragmentation?
You can never test every device. What do you need instead?