I have a big issue with an app that i’m trying to pusblish on prod. Everything is ok in dev envirement, but when i’m creating a standalone apk and test the app, it crashes when i’m trying to open a view which have expo map view on it. The app just restart when i’m trying to get this view.
Here is the code :
<MapView
ref={map => this.mapRef = map}
onLayout={() => this.mapRef.fitToElements(true)}
style={{ flex: 1, height: 200 }}
initialRegion={{
latitude: get(company, “locations.0.latitude”),
longitude: get(company, “locations.0.longitude”),
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
>
{locations.map(location => (
<MapView.Marker
coordinate={{latitude: location.latitude, longitude: location.longitude}}
title={location.name}
description={location[“full_address”]}
/>
))}