-
-
Notifications
You must be signed in to change notification settings - Fork 147
bug: Apple Auth on Android: A headful operation is already in progress. Please wait for that to finish. #912
Description
Plugin(s)
- Authentication
Version
7.3.1
Platform(s)
- Android
Current behavior
When using Apple Auth on Android, I get the error message:
A headful operation is already in progress. Please wait for that to finish.
When triggering the sign-in via a button. The sign-in then does not start / function.
Expected behavior
Apple Auth to work on Android.
Reproduction
I am willing to create one, but it is quite involved to set it all up completely. So, if you already have a repo with Apple Auth and can test on Android. That'd be great.
Steps to reproduce
- Set up Capacitor and Android
- Install: @capacitor-firebase/authentication firebase
const result = await FirebaseAuthentication.signInWithApple({ skipNativeAuth: true })- When triggered, the error shows in the console when running the code inside Capacitor on Android.
A headful operation is already in progress. Please wait for that to finish.
Other information
I tried researching the issue and found two mentions of the error message on:
- Flutterfire: [firebase_auth]: A headful operation is already in progress. Please wait for that to finish. firebase/flutterfire#17697
- Firebase Android SDK: [firebase_auth]: A headful operation is already in progress. Please wait for that to finish. firebase/firebase-android-sdk#7300
They suggested that a fix would be to “remove” android:taskAffinity="" from the AndroidManifest.xml though that is not set in my AndroidManifest.xml at all.
I thought it might be something related to the Firebase Android SDK. But they seem to think it's down stream.
Which is the reason I am reporting it here.
Capacitor doctor
Latest Dependencies:
@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/android: 7.4.3
@capacitor/ios: 7.4.3
Installed Dependencies:
@capacitor/cli: 7.4.3
@capacitor/android: 7.4.3
@capacitor/core: 7.4.3
@capacitor/ios: 7.4.3
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting
- I have read and followed the bug report guidelines.
- I have attached links to possibly related issues and discussions.
- I understand that incomplete issues (e.g. without reproduction) are closed.