andretietz / retroauth

A library build on top of retrofit, for simple handling of authenticated requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]RetroauthInitProvider.kt has unsafe null-point.

XinyueZ opened this issue · comments


Kotlin-plugin reports:

Unsafe use of a nullable receiver of type Context?

Kotlin-plugin: 1.2.61
AS Gradle: 3.3.0

context is a kotlinified version of getContext() which is never null in the onCreate method