Firebase Not Working
joboyx opened this issue · comments
Joboy Jordan commented
- I've setup a new project in firebase
- initialized firestore and added rules
- created user via email/password
- change data source in settings and input firebase keys/id and email/password
- but there's an error in console saying it can't reach firestore
Is it possible that you're using the old URL/protocol for Firestore -- firebaseio.com?
Jeff Wu commented
it's supposed to be realtime database, not firestore
Joboy Jordan commented
Thanks!
I was able to make it work now.
Just some notes:
- the hyperlink here is broken:
- Would be great to mention "Realtime Database" here since there's already 2 types of DB in Firebase, other is Firestore. But yeah, if you follow the links you provided, it will redirect to Realtime Database page, so that's my bad.
https://github.com/WuTheFWasThat/vimflowy/blob/master/docs/storage/Firebase.md
- Lastly, would be great to mention that the "Firebase ID" mentioned here is the "Realtime Database URL" indicated in Realtime Database page. Like so --
${projectId}-default-rtdb
Nevertheless, all good! Awesome work! 🤩
You can close this, if you want.
Joboy Jordan commented
Jeff Wu commented
thank you!! updated docs :)