mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

DeviceLocationProviderAndroidNative Does not work on Android 11

Open ringorjo opened this issue 4 years ago • 1 comments

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.

ringorjo avatar Jan 22 '22 00:01 ringorjo

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:

  • Unity version:
    • Scripting Runtime Version:
    • Scripting Backend:
    • Api Compatibility Level:
  • Mapbox SDK version:
  • The platform you're building to:
  • A description of what you're trying to do:
  • Steps to recreate the bug if appropriate:
  • Links to your logs are also helpful:

Markovicho avatar Jan 24 '22 09:01 Markovicho