Skip to content

/compat missing from firebase import (#2917) #3048

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

Merged
merged 1 commit into from
Jan 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/auth/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ like app verification mode for phone authentication, which is useful for
[testing](https://cloud.google.com/identity-platform/docs/test-phone-numbers).

```ts
import { SETTINGS as AUTH_SETTINGS } from '@angular/fire/auth';
import { SETTINGS as AUTH_SETTINGS } from '@angular/fire/compat/auth';

@NgModule({
// ... Existing configuration
Expand All @@ -73,7 +73,7 @@ preference. This allows to localize emails but be aware that this only applies
if you use the standard template provided by Firebase.

```ts
import { USE_DEVICE_LANGUAGE } from '@angular/fire/auth';
import { USE_DEVICE_LANGUAGE } from '@angular/fire/compat/auth';

@NgModule({
// ... Existing configuration
Expand All @@ -91,7 +91,7 @@ If you want to set a different language, you can use `LANGUAGE_CODE` DI Token
More info at the [firebase auth docs](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#languagecode).

```ts
import { LANGUAGE_CODE } from '@angular/fire/auth';
import { LANGUAGE_CODE } from '@angular/fire/compat/auth';

@NgModule({
// ... Existing configuration
Expand All @@ -115,7 +115,7 @@ The possible types are `'local'`, `'session'` or `'none'`. Read more at
[authentication state persistence](https://firebase.google.com/docs/auth/web/auth-state-persistence),

```ts
import { PERSISTENCE } from '@angular/fire/auth';
import { PERSISTENCE } from '@angular/fire/compat/auth';

@NgModule({
// ... Existing configuration
Expand All @@ -135,7 +135,7 @@ ID using `TENANT_ID` DI Token (*default: null*).
More tutorials regarding this topic are _coming soon_.

```ts
import { TENANT_ID } from '@angular/fire/auth';
import { TENANT_ID } from '@angular/fire/compat/auth';

@NgModule({
// ... Existing configuration
Expand Down