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

Support Firebase Authentication emulator #685

Merged
merged 3 commits into from
Jan 26, 2022

Conversation

tzappia
Copy link

@tzappia tzappia commented Nov 15, 2021

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation changes
  • Other... Please describe:

PR Checklist

Please check your PR fulfills the following requirements:

New features/enhancements:

  • Exhaustive testing has been carried out for the new functionality
  • Regression testing has been carried out to ensure no existing functionality is adversely affected
  • Documentation has been added / updated
  • The example project has been update to validate/demonstrate the new functionality.

What is the purpose of this PR?

This change adds support for the Firebase Authentication emulator which is part of the Firebase Local Emulator Suite. It allows authentication to be handled by a local emulator suite rather than a real Firebase project instance.

Does this PR introduce a breaking change?

  • Yes
  • No

What testing has been done on the changes in the PR?

This PR has been tested with the useAuthEmulator function called after the FirebasePlugin has been initialized. It successfully connects and uses the configured authentication emulator for Firebase Authentication operations.

What testing has been done on existing functionality?

This PR has been tested without calling the useAuthEmulator function. All existing Firebase Authentication behaviour is unchanged.

Other information

The changes in this PR have been used in a production app available on both the App Store and Google Play Store.

@dpa99c dpa99c changed the base branch from master to dev January 26, 2022 16:12
@dpa99c dpa99c merged commit 018c810 into dpa99c:dev Jan 26, 2022
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

Successfully merging this pull request may close these issues.

2 participants