What problem does it solve?
This Skill helps developers integrate interactive maps and reliable geolocation into mobile apps by removing friction around provider setup, permission flows, API keys, and background tracking so maps and location features work across devices.
Core Features & Use Cases
- Cross-platform map integration: Instructions for react-native-maps with Expo and google_maps_flutter for Flutter to render maps, markers, routes, and polygons.
- Location acquisition and permissions: Guidance for requesting foreground and background permissions and obtaining the user's current location using expo-location and geolocator.
- Background tracking & geofencing: Patterns for background location tasks, geofencing triggers, distance-based updates, and battery-conscious accuracy settings.
- Practical use case: Create a MapScreen that centers on the user, supports dropping and persisting pins, triggers geofence events, and sends location updates to an API.
Quick Start
Add a Google Maps map to an Expo app, request foreground and background location permissions, and scaffold a MapScreen that shows the user's position and lets them drop markers.