React Native Android app created with Expo crashes when I open the map component
I’m developing an expo application, and I’m using MapView in there to render a map, but I’m using react-native-map-clustering
that wraps the react-native-maps
. When I open the app through the expo, it works perfectly, but when I build the app and install in my android emulator, every time I try to open the map, the app crashes and close immediately.
Open google maps to directions using expo react-native-map-link for Android
This has had me scratching my head for a few weeks now. I have button on a page that allows the user to open the Google Maps app to directions from their current location to a new destination. The button works, opens google maps but it immediately closes leaving the user on the home screen. I’ve tried multiple ways of doing this with little success. I have tried using Linking and the react-native-map-link library.
The documentation for the library states to add the library to plugins which I have done like so: