MapView.Polyline Crashing only in Expo Go

Please provide the following:

  1. SDK Version: 43.0.0
  2. Android Expo Go
  3. ExpoGo

MapView.Polyline from react-native-maps works fine in iOS sim, and AVD, but when on Android using ExpoGo, the component crashes, and makes other elements of the screen unuseable.

useEffect(() => {
    mapRef.current.fitToCoordinates(polylines);
  }, []);
<MapView
          style={{ width: "100%", height: "100%" }}
          mapPadding={{
            top: 40,
            right: 40,
            left: 40,
            bottom: 420,
          }}
          ref={mapRef}
        >
          {markers.map((marker) => (
            <Marker
              key={marker.key}
              coordinate={marker.coordinates}
              title={marker.title}
            />
          ))}
          <Polyline
            strokeColor={STYLES.blue}
            strokeWidth={3}
            geodesic={true}
            coordinates={polylines}
          />
        </MapView>
polylines = 
Array [
  Object {
    "latitude": 29.984444444444446,
    "longitude": -95.34144444444443,
  },
  Object {
    "latitude": 26.071666666666665,
    "longitude": -80.14969444444445,
  },
]

Is this the right place to ask? Thanks in advance!

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