It works most of the time but I have seen crashes in many devices with below stacktrace. Am I initializing the library in some wrong way or is it a bug?
Fatal Exception: java.lang.RuntimeException
Unable to start activity ComponentInfo{com.vikrams.quotescreator/com.unsplash.pickerandroid.photopicker.presentation.UnsplashPickerActivity}: kotlin.UninitializedPropertyAccessException: lateinit property application has not been initialized
I am initializing the library like this (in JAVA) -
It works most of the time but I have seen crashes in many devices with below stacktrace. Am I initializing the library in some wrong way or is it a bug?
Stacktrace: