mapbox / mapbox-unity-sdk

Mapbox Unity SDK - https://www.mapbox.com/unity/
Other
719 stars 213 forks source link

DeviceLocationProviderAndroidNative Does not work on Android 11 #1844

Open ringorjo opened 2 years ago

ringorjo commented 2 years ago

Hello everyone, I'm using the mapbox sdk in unity and I have a problem. I understand that in the case of Android, the DeviceLocationProviderAndroidNative is used to access the gps, but since I try to compile for android 11, when I try to open the application, it crashes only in android 11 because if i get a build with api 29(Android 10) the app works perfect, i had to upgrade to api 30 due to google policies, but i couldn't make it work, i know it has to do with the plugin called com.mapbox.android.unity-debug and has all methods need it to works on Android. If some one could help me I would appreciate it.

Markovicho commented 2 years ago

Can't confirm that issue. We are building for API Level 30 (IL2CPP) while using AndroidNativeLocationProvider. Maybe you could provide more specific informations about the erros you are receiving. Startig a new issue should lead you to this form. Maybe it's worth to use it in this case ;-)

Note: If this is a bug or support ticket, please provide the following information: