Open mikezank opened 1 year ago
Firebase requires appcompat dependency, you should add
implementation("androidx.appcompat:appcompat:1.6.1")
t.ContextWrapper.sendBroadcast:468 com.oneplus.coreservice.Broadca stDispatch.xne$mab.onReceive:122 android.app.LoadedApk$Receiver D ispatcher$Args.lambda$getRunna ble$O$LoadedApk$ReceiverDispa tcher$Args:1566 android.app.-$ $Lambda$LoadedApk$ReceiverDispa tcher$Args$_BumDX2UKsnxLVrE6UJs JZkatuA.run:2 10-30 06:53:15.571 D/
What this mean
Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?
Step 2: Describe your environment
Step 3: Describe the problem:
Adding Hilt to the project causes AuthMethodPickerActivity to fail to launch with this error: "You need to use a Theme.AppCompat theme (or descendant) with this activity."
Steps to reproduce:
Observed Results:
logcat
output, etc.Process: io.zsoft.firebaseuiminimum, PID: 31152 java.lang.RuntimeException: Unable to start activity ComponentInfo{io.zsoft.firebaseuiminimum/com.firebase.ui.auth.ui.idp.AuthMethodPickerActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3685)
Expected Results:
Relevant Code:
The above code works fine without Hilt in the project. Adding just one dependency (implementation "com.google.dagger:hilt-android:2.44") somehow crashes the App