Assistive Access + Firebase Authentication

I have an issue in my app when it is used together with the assistive access feature.

For authentication, we are using the capacitor firebase authentication plugin (https://www.npmjs.com/package/@capacitor-firebase/authentication) which enables users to login via apple (FirebaseAuthentication.signInWithApple(...)), google (FirebaseAuthentication.signInWithGoogle(...)), or email. Works just fine. However, when the assistive access feature is enabled, the login fails for apple ("The operation couldn't be completed. com.apple.AuthenticationServices.AuthorizationError error 1000) and google ("The user canceled the sign-in flow).

It seems like the popups for sign-in are blocked and therefore an error is returned immediately. The popups may be blocked by assistive access, causing the capacitor plugin to be unable to authenticate.

I have tested this on my iPhone 12 Pro using iOS 17.7

I would appreciate any suggestions to handle this issue!

I further investigated into this and discovered more issues that may help to narrow down the actual cause.

  • Our app incorporates google synchronization that requires to sign-in to google via a popup (using window.open(...) in angular typscript). This popup is suppressed, essentially disabling this feature
  • Various <a> elements link the user to our website. Blocked as well

As written in this post, it seems like assistive access blocks external urls. However, as our app requires this to login via apple or google, this appears to be a rather strict limitation. Some of our users rely on assistive access and we are committed to offer them the full feature set.

Is there any way to enable opening specific URLs or another workaround to solve this issue?

Assistive Access &#43; Firebase Authentication
 
 
Q