amplitude / amplitude/AmplitudeSessionReplay-Android

Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'a'.

Abierto
#11 1 comentario 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

While implementing the standalone SDK **v0.20.15** I noticed that there are some warnings/errors about this.

Image

```
Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'a'. Check your module classpath for missing or conflicting dependencies.
Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'SessionReplay'. This may be forbidden soon. Check the module classpath for missing or conflicting dependencies.
Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'a'. This may be forbidden soon. Check the module classpath for missing or conflicting dependencies.
Use of getter method instead of property access syntax
```

but downgrading to **v0.20.14** the warnings/errors disappear and looking at the compiled code I notice this small difference.

✅ **v0.20.14**

```kotlin
public open class SessionReplay public constructor(...) : android.app.Application.ActivityLifecycleCallbacks, android.content.ComponentCallbacks2, kotlinx.coroutines.CoroutineScope {
```

⚠️ **v0.20.15**

```kotlin
public open class SessionReplay public constructor(...) : com.amplitude.android.sessionreplay.a {
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.