- SDK Version: 36
- Platforms(Android/iOS/web/all): Android
Hey, i’m getting MapView on Android with ExpoClient always blank
Here is my code
import React from 'react';
import { StyleSheet, View } from 'react-native';
import MapView from 'react-native-maps'
export default function App() {
return (
<View style={styles.container}>
<MapView
style={styled.mapStyle}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}/>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
mapStyle: {
width: '400',
height: '400',
...StyleSheet.absoluteFillObject
},
});
What am i doing wrong?