All jobs / Mobile developer / Device Capabilities
Mobile developer interview question · 3–5 years
Product asks for location “always” so a map feels snappier. What do you do?
The strongest answer
Challenge the need: while-in-use is the default; always is a review, battery, and trust cost with a visible disclosure — I will not add it for a snappier first paint
Why it works
Exactly. Always-location is a product and policy decision, not a performance trick.
What a good answer covers
- Default to while-in-use.
- Always needs a real feature and a disclosure.
- Foreground services need an honest notification.
- Do not use location as a cache for UI speed.
Answers that fall short
- Close, but not the strongest: Grant always in the manifest and prompt once; users will understand
A quiet always-prompt is how you fail review. - Weak: Start a foreground service with a blank notification so we can poll forever
A blank notification is a policy miss and a user-trust miss. - Red flag: Read location from a cache of other apps’ last known
You do not get other apps’ locations.
Who gets asked this
More Device Capabilities questions
- A delivery app asks for the highest-accuracy location updates continuously so the map pin never lags. How do…
- Product wants the app to notice NFC tags as the user walks past them, with the app closed. What do you tell…
- A field app talks to a Bluetooth sensor. In the lab it is solid; in the field users say it “just stops”. How…
- The feature is “attach a photo to a report”. Do you build a camera screen inside the app?
- A step-counting screen keeps draining the battery long after the user has moved on to another screen. What do…
- The feature is “attach one photo.” Which permission story is right in 2026?
- You add biometric unlock. What else must exist?