React Native Android only crash on real device while using react-native-map

Viewed 28

React Native Android crash only on real device while using react-native-map, but it works on simulator. App crash after loading the MapView, I've try to add <uses-library android:name="org.apache.http.legacy" android:required="false"/> into AndroidManifest.xml <application> tag

My device is M1 Mac and my phone is Android 6.0.1 Samsung galaxy S9

Permissions in AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

I'm sure that the application has access to location.Please tell me if I miss any settings.

0 Answers
Related