"db.collection is not a function" in Firebase raw mode

After this resolution, the previous raw firebase query that I had, started to fail:

const fooCollection = db.collection("foo");
const barCollection = db.collection("bar");

It was working before this fix.

For who needs: db.collection('foo') is not available anymore, needs to be db.firestore().collection('foo').

Would be nice to be informed about breaking changes like that.

That's a very good catch, @eliasjnior. Thanks for reaching out and for sharing an update after the fact. The latter is the more semantic - and preferred - approach, but we obviously never want to introduce any breaking changes. This is probably just something we overlooked in trying to get a fix out for the DEFAULT_FIREBASE_DATEBASE_ID issue, but I'll confirm and update where needed.

Apologies for the breaking change, but thanks for flagging!