-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade to firebase 9.0.0^ #190
Comments
Hi, I have exactly the same issue. Thanks! |
you can do a --force like it says in the prompt and see if it works |
I'm going to work on differents features of my project, waiting for an update of this plugin, but I might try the --force option indeed. |
nope! I went the same route haha. Good luck! |
Haha you too mate! |
Maybe there's a way to use the firebase 'compat' API to speed things along? https://firebase.google.com/docs/web/modular-upgrade#about_the_compat_libraries. Just as a bit of context, I'm also looking to use this package in my firebase v9 app. |
Yes, maybe changing all the imports from 'firebase/auth' to 'firebase/compat/auth' would be a temporary solution |
Have you checked out this repo? https://github.com/robingenz/capacitor-firebase-authentication |
Yes I've tried signing in with Apple and Google with this plugin but neither worked |
For anyone needing an immediate solution, what I did was manually updated all the firebase imports in capacitor-firebase-auth in my node_modules to use the firebase/compat/* APIs. Afterwards, I ran |
See PR #199 which I just reviewed. Note the link I mentioned in the comment https://harryherskowitz.com/2021/08/23/firebase-capacitor.html |
Just to be safe - I uploaded my changes (which have been tested and used in my app) as a PR #204. Changes are pretty much the same as in #199 |
npm ERR! dev firebase@"^9.0.2" from the root project
npm ERR! Could not resolve dependency:
npm ERR! peer firebase@"^8.3.0" from [email protected]
The text was updated successfully, but these errors were encountered: