Closed zabipakdel closed 1 year ago
@Richou I have the same issue in android 11 as well. Any update?
Do you have any log from the crash? What device did you use? I tried it on Samsung S22 with Android 12 and it works fine
I found the solution https://github.com/rnmapbox/maps/issues/1286#issuecomment-805167752
So it was error in mapbox and not this lib? Or did you take something from that solution and applied patch for this lib?
I just add this lines of code and works fine
It was fixed in mapbox several months ago but has not been updated in this library. A workaround is to add this line: implementation 'com.mapbox.mapboxsdk:mapbox-android-telemetry:6.1.0' to the @react-native-mapbox-gl/maps/android/rctmgl/build.gradle file under the implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.1.0 line.
ok, so it's mapbox issue, because it says to modify @react-native-mapbox-gl/maps/android/rctmgl/build.gradle
file, for which you have to have that lib installed, it's not dependency of this lib. Thank you
your welcome
I have Problem in android 12 permission will granted but will crash after that