Skip to content
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

Example for the Package is outdated #104

Open
bikraj2 opened this issue Nov 10, 2023 · 2 comments
Open

Example for the Package is outdated #104

bikraj2 opened this issue Nov 10, 2023 · 2 comments

Comments

@bikraj2
Copy link

bikraj2 commented Nov 10, 2023

The example for the package is outdated.

@vpEmpat
Copy link

vpEmpat commented Dec 4, 2023

If you mean whenCalling method, than you need to use this package https://pub.dev/packages/mock_exceptions/install

@TommyHolmberg
Copy link

TommyHolmberg commented Apr 14, 2024

GoogleAuthProvider.getCredential which is used in the example was removed 4 years ago. The readme says something about using firebase_auth 4.0.0, and the function call was already changed in that version. The correct call is GoogleAuthProvider.credential. The example also define the final user variable twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants