Sandbox demo

Maps and Location

Showing where the user is without burning their battery.

react-native-maps gives you Apple Maps on iOS and Google Maps on Android with one component. expo-location gives you the device's coordinates. The watch-out is foreground vs background location — background needs a separate permission, separate plist entry, and a real reason. Don't ask for what you don't need.

Sandbox transcript
Codex · sandbox replay
Press Play to replay this transcript step-by-step.
0 / 6

The transcript is canned — no real API calls. The point is to internalize the loop: user → plan → tool → result → answer.

Check your understanding
Q1. Why ask only for *foreground* location permission when background tracking isn't needed?
· Score 100% on the quiz.