Sub topic 2
How mobile platforms handle apps, sandboxing and updates
This chapter assumes you know how to open Settings on Android and iOS, you have used an app store, and you know what an operating system (OS) update is. It sets up the model you need for the later chapters on app faults, update failures and mobile security risks.
Where apps come from
Mobile apps normally come from a curated store. Apple's App Store is the only official source on iOS. Google Play is the official source on Android. Both stores review apps, require developers to sign them, and can remove an app that turns out to be harmful.
Android also lets you install an app from a file, which is called sideloading. iOS blocks this by default. Chapter 7 covers the risks. For now, remember that a store gives you a vetted source and a sideloaded file does not.
| Feature | iOS | Android |
|---|---|---|
| Official store | App Store | Google Play |
| App file format | IPA | APK |
| Sideloading | Blocked by default | Allowed after you permit an install source |
| OS vendor | Apple | Google, with changes by each device maker |
Sandboxing
A sandbox is an isolated area where an app runs. Each app gets its own storage and process. One app cannot read another app's data or change the OS unless the user grants a permission or the OS provides a defined way to share.
Sandboxing limits the damage from a faulty or malicious app. A crash in one app usually does not affect the rest of the device. Spyware in one app cannot freely read your messages or photos.
Permissions control what crosses the sandbox boundary. An app asks to use the camera, microphone, location or contacts, and you approve or deny each request. You can review and change these grants later in Settings. Unexpected permission requests are a common warning sign, such as a flashlight app that wants your contacts.
How updates work
Mobile devices receive two kinds of updates.
- App updates come through the store. Auto-update is usually on, and the store downloads the new version over the old one.
- OS updates come from the OS vendor, often through the device maker or carrier. They deliver security patches, bug fixes and new features.
An update can fail because the device has too little free storage, low battery, a poor network connection or an unstable download. You will troubleshoot these causes in later chapters.
Update support differs between platforms. Apple controls both hardware and software, so supported iPhones receive updates together. Android updates depend on the device maker and sometimes the carrier, so patches may arrive late or stop once a model reaches end of life. A device that no longer gets patches stays exposed to known flaws.
Why this matters for troubleshooting
The platform model tells you where to look.
- If one app fails and the rest work, suspect the app. Its data, cache, permissions or version is the likely cause.
- If many apps fail after an update, suspect the OS update or low storage.
- If an app comes from outside the store, treat it as untrusted. It may lack review and signing.
- If a device no longer receives updates, treat it as a security risk.
Keep the least destructive fixes first. Restarting the app, clearing its cache and updating it all keep your data. A factory reset does not.
Exercise
A user's phone has one app that keeps crashing. Every other app works normally. What does the sandbox model suggest, and what should you try first?
Show answer
The sandbox isolates each app, so the fault is probably in that app and not in the OS. Try the least destructive fixes first: close and reopen the app, clear its cache, check that it has enough storage and its permissions, then update or reinstall it. Do not factory reset the phone.
Exercise
Why can an Android phone stay vulnerable to a known flaw even though Google has released a patch?
Show answer
Android updates often pass through the device maker and carrier before they reach the phone, so the patch may be delayed or never offered if the model is no longer supported.