Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

162
Views
React Native App restarts on navigating to a page using react-native-maps

I'm using expo and react native. I have about 8 different screens I'm navigating between, but on navigating to a page that is supposed to display a map, the app restarts and goes back to the splash screen. The code works fine in the emulator and my expo app. But the error occurs in the Binary build (APK). This page contains data from 'react-native-maps'.

  <View style={styles.container}>
    <MapView
      style={styles.map}
      region={{
        latitude: scheduledOrders.starting_loc_lat,
        longitude: scheduledOrders.starting_loc_long,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
      }}
    >
      {markers &&
        markers.map((item, index) => (
          <MapView.Marker
            coordinate={item.coordinates}
            pinColor={"purple"} // any color
            title={item.title}
            description={item.description}
            key={index}
          >
            <View style={styles.circle}>
              <AppText style={styles.pinText}>{index + 1}</AppText>
            </View>
          </MapView.Marker>
        ))}
    </MapView>
  </View>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!