import React from 'react'; import {View, Text, StyleSheet, Button} from 'react-native'; import MapView, { PROVIDER_GOOGLE } from 'react-native-maps'; const ExplorScreen =({navigation})=>{ return (<View style={styles.container}><MapView provider={PROVIDER_GOOGLE} // remove if not using Google Maps style={styles.map} region={{ latitude: 37.78825, longitude: -122.4324, latitudeDelta: 0.015, longitudeDelta: 0.0121, }}></MapView></View> ); } export default ExplorScreen; const styles = StyleSheet.create({ container: { ...StyleSheet.absoluteFillObject, height: 400, width: 400, justifyContent: 'flex-end', alignItems: 'center', }, map: { ...StyleSheet.absoluteFillObject, }, });
please help me with my code i don't know what is wrong every time i use mapview package get this error and btw im using chrome browser to see my app result