Using a mobile device is a portable experience, so it's no surprise that maps are a common part of many iOS and Android applications. Your app may need to tell a user where they are, where they're going, or where other users are in real time.
In this recipe, we'll be making a simple app that uses Google Maps on Android, and Apple's Maps app on iOS, to display a map centered on the user's location. We will be using Expo's Location helper library to get the latitude and longitude of the user and will use that data to render the map using Expo's MapView component. MapView is an Expo ready version of the react-native-maps package created by Airbnb, so you can expect the react-native-maps documentation to apply, which can be found at https://github.com/react-community/react-native-maps.