Open siju-s opened 2 years ago
Works fine on 1.3.10
which uses AndroidX
but not on 1.3.15
which uses support library version.
Hi @siju-s, I am facing the same issue, is there any workaround regarding this? On the newest release: 1.3.23, the InstaCapturePlayerView.class is still using the android.arch.lifecycle
, and my project uses the androidx.lifecycle.Lifecycle
Workaround add the following line into gradle.properties
android.enableJetifier=true
Hope that it helps anyone who ran into the same problem :-)
Crash on inflating preview
Cannot call
setLifecycle
method in activity as SDK uses deprecatedandroid.arch.lifecycle
instead ofandroidx.lifecycle.Lifecycle
.