-
-
Notifications
You must be signed in to change notification settings - Fork 552
Open
Description
I have imported the remote-config module from firebase and call after the initialize method, but I don't have access to remoteConfig method when I try to use useFirebase. Do you have any idea what can be wrong?
// core imports
import firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/database';
import 'firebase/auth';
import 'firebase/storage';
import 'firebase/functions';
import 'firebase/remote-config';
interface ConfigProps {
apiKey: string;
authDomain: string;
databaseURL: string;
projectId: string;
storageBucket: string;
messagingSenderId: string;
appId: string;
}
firebase.initializeApp(config);
firebase.remoteConfig()
firebase.functions()
firebase.firestore().settings({ experimentalForceLongPolling: true });
export default firebase;
Metadata
Metadata
Assignees
Labels
No labels