Cannot set Google Maps for IOS

Please provide the following:

  1. SDK Version: 36.0
  2. Platforms(Android/iOS/web/all): iOS

I am trying to implement customMapStyle for my app. But I cannot get Google Maps to work on iOS devices while running inside Expo application. The code is below, I am not sure what to do anymore.

import MapView, {Marker, PROVIDER_GOOGLE} from 'react-native-maps';
.
.
.
<MapView
                            provide = {PROVIDER_GOOGLE}
                            customMapStyle={darkMapStyle}
                            style={styles.mapStyle}
                            initialRegion={this.state.mapRegion}
                            onRegionChange={this.onRegionChange}
                            onRegionChangeComplete={this.onRegionChangeComplete}
                            showsUserLocation
                            showsMyLocationButton
                        >
                            {
                                this.state.venues && this.state.venues.map((marker)=>(
                                    <Marker
                                        key={marker.id}
                                        coordinate={{
                                            latitude: marker.location.lat,
                                            longitude: marker.location.lng
                                        }}
                                        onCalloutPress={()=>{
                                            this.props.navigation.navigate("Venue", {venue: marker})
                                        }}
                                        title = {marker.name}
                                        description={marker.location.address}
                                    />
                                ))
                            }
                        </MapView>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.