What am I todo about UnityLocationProvider' is missing the class attribute 'ExtensionOfNativeClass'!

Abierto
#2,002 8 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
csharp, ios, unity
Área
mobile

Línea de trabajo

The errors name Mapbox.LocationModule.UnityLocationProvider and StaticLocationProvider, both reported missing the ExtensionOfNativeClass attribute on iOS in the Unity editor. Start by finding those two provider classes in the location module and checking how the iOS native bindings are attached to them. Done means the iOS build no longer logs the attribute error and a location provider can be instantiated without a constructor error.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I've been using mapbox location provider and it sometimes is inaccurate so I want to see if any other method would work, but both static and unity location provider do not work for me on IOS and have the following errors:
'Mapbox.LocationModule.UnityLocationProvider' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

'Mapbox.LocationModule.StaticLocationProvider' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

To investigate I try to make a that inherits from Mapbox.LocationModule.UnityLocationProvider

it asks for a constructor that does not accept 0 arguments and it doesn't tell me what arguments it wants.

I can tell there is something I should do here but I'm not sure what.

Lenguaje dominante
C#
Estrellas
787
Forks
228
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mapbox/mapbox-unity-sdk

Todos los issues de mapbox/mapbox-unity-sdk

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.