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

feat(authentication): Add support for disableWarnings when using emulator with web #320

Open
mcfarljw opened this issue Feb 13, 2023 · 0 comments

Comments

@mcfarljw
Copy link

Is your feature request related to a problem? Please describe:
Using the emulator for the web adds as banner to the bottom indicating it's an emulator environment which often covers up part of the layout making it hard to develop the layout.

screen

Describe the solution you'd like:
I'd like the useEmulator function to pass along the disableWarnings value in the options.

FirebaseAuthentication.useEmulator({
  host: 'http://localhost',
  port: 9099,
  options: {
    disableWarnings: true,
  },
})

Describe alternatives you've considered:
Using CSS to hide the div is a workaround for the time being.

.firebase-emulator-warning {
  display: none !important;
}

Additional context:
https://firebase.google.com/docs/reference/js/auth.emulatorconfig.md#emulatorconfigoptions

@robingenz robingenz changed the title feat(auth): Add support for disableWarnings when using emulator with web feat(authentication): Add support for disableWarnings when using emulator with web Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants