It works perfectly on cordova android build,
and it also works on PWA(both of ios and android),
but on cordova ios build, it throws an error like this Error: This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.
I used signInWithRedirect method because it’s the only option to use firebase auth on cordova app.
I tried search simillar cases with me, but any of thoes couldn’t solve my problem.
This tripped me up a while back. You can solve this without a plugin by using ‘browserLocalPersistence’ if you are in a capacitor app. This is my current working code in a v8+vue3 project: