Closed Hishmad closed 6 years ago
Same issue as #1274, but not sure that was ever resolved ... something is pulling in the wrong version of the support library where AppCompatActivity is not a LifecycleOwner.
Hi Sam, Its true same issue as #1274, I have followed your recommendation, but it did't work. I have three apps all of them using firebase-ui they are all fine, with version 3.1.0.
Ah wait, now I see this:
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '26.0.2'
}
}
}
}
That's forcing all your support dependencies to be overridden at version 26.0.2
! Please update that to something like 27.0.1
.
As you can see in the release notes, 3.1.0
was one of the last versions that depended on 26.x
so that's why it used to work:
https://github.com/firebase/FirebaseUI-Android/releases?after=3.1.2
Noted with many thanks
Hello, The app was running well with firebase UI before 3.1.0, but when moving to firebase UI 4.1.0 the app crash with the following information:
Step 1: Are you in the right place?
Yes
Step 2: Describe your environment
Step 3: Describe the problem:
Application crash firebase.ui.auth.KickoffActivity does not implement interface LifecycleOwner
app/build.gradle
project.build.gradle
Expected Results:
Login screen