I use react-native-maps, here's my code:
import { Marker} from 'react-native-maps';
import { MapView} from 'expo';
<MapView
style={{ flex: 1, height: 300 }}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}>
<Marker
coordinate={{
latitude: 39.78825,
latitude: 39.78825,
}}
title="Title"
description={"Desc"}
/>
</MapView>
It returns error: "Tried to register two views with the same name AIRMap" Please help. Thanks.