Skip to content

where to import connectEmulator from? #3040

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

Closed
Pingear opened this issue Oct 31, 2021 · 3 comments
Closed

where to import connectEmulator from? #3040

Pingear opened this issue Oct 31, 2021 · 3 comments

Comments

@Pingear
Copy link
Contributor

Pingear commented Oct 31, 2021

since there is no documentation, I will gradually find out the information I need for work.

Please tell me where to import connectEmulator from? Thanks)

@google-oss-bot
Copy link

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@tja4472
Copy link

tja4472 commented Nov 1, 2021

See:

import { connectFunctionsEmulator, FunctionsModule, getFunctions, provideFunctions } from '@angular/fire/functions';
import { connectFirestoreEmulator, getFirestore, provideFirestore, enableMultiTabIndexedDbPersistence } from '@angular/fire/firestore';
import { connectDatabaseEmulator, getDatabase, provideDatabase } from '@angular/fire/database';
import { connectStorageEmulator, getStorage, provideStorage } from '@angular/fire/storage';

@Pingear
Copy link
Contributor Author

Pingear commented Nov 1, 2021

See:

import { connectFunctionsEmulator, FunctionsModule, getFunctions, provideFunctions } from '@angular/fire/functions';
import { connectFirestoreEmulator, getFirestore, provideFirestore, enableMultiTabIndexedDbPersistence } from '@angular/fire/firestore';
import { connectDatabaseEmulator, getDatabase, provideDatabase } from '@angular/fire/database';
import { connectStorageEmulator, getStorage, provideStorage } from '@angular/fire/storage';

Thanks)
I was misled by the fact that the migration guide specifies connectEmulator

Screenshot 2021-11-01 at 19 30 06

I made a pull request. - #3041

Just yesterday I found out that the project has no v7 documentation, one sheet and that one with errors))
Does anyone know why the project looks abandoned?

@Pingear Pingear closed this as completed Nov 1, 2021
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