var firebaseConfig = {
…
};
firebase.initializeApp(firebaseConfig)
var firestore = firebase.firestore();
const docRef = firestore.doc(“samples/sam”);
This works well with expo-ios but not for expo-web
and giving following error=> TypeError: firebase_app__WEBPACK_IMPORTED_MODULE_11_.firebase.firestore is not a function