-
-
Notifications
You must be signed in to change notification settings - Fork 18
bug: Auth instance doesn't get authenticated #92
Comments
PS: I have this in the capacitor config:
|
Thank you for your request. You already know that I am very busy at the moment. I will take a closer look at the problem as soon as possible. Some initial points: Make sure to initialize the Firebase JS SDK before using the plugin.
Try to use only
See this answer.
It should not be necessary to pass the auth instance. |
Please give this dev version a try:
Note: I removed the |
Dear @robingenz my issue was actually with Capacitor iOS, not the web. I use my own made functions for the web version and do not rely on your web implementation. : ) However, I found a document in your repository that I must have missed before: https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md This doc allowed me to implement proper auth for iOS! One remark:Before I kept getting
But on your latest Can you release it officially? |
That is great!
Yes, I need to make this document more visible.
That's very strange! I have removed only one listener. See this commit. Can you please try again? Maybe a |
On Capacitor 3.0, using Firebase v9 with modular syntax I have the issue that my auth instance doesn't get authenticated.
This is the way I'm instantiating my
firebaseApp
andauth
:I need to use
initializeAuth
on capacitor iOS/android, because otherwise the app doesn't launch properly. (see the reason for that here).The entire app we have uses these
firebaseApp
andauth
instances. We need to usecapacitor-firebase-authentication
just to authenticate and nothing else.I get the feeling looking at the source code that
capacitor-firebase-authentication
uses their own instantiatedauth
instance that's completely separate from ours.I feel that especially because I can't see any way to pass our
auth
instance to get authenticated.How can I best solve my issue?
Currently all the authentication methods of this library work, but just nothing happens after that and our
auth
instance never gets authenticated.Best regards.
The text was updated successfully, but these errors were encountered: