component.js:111 Uncaught Error: Service database is not available
at Provider.getImmediate (component.js:111:15)
at getDatabase (database.js:9780:45)
at init (firebase.js:18:34)
at firebase.js:21:14
at crypto-36a3f9c0.js:30:10
I tried using the app ID, as well as the realtime database url, but to no avail.
According to this stack overflow it may be because the version of the Firebase SDK this project uses is out of date?
I created this pull request https://github.com/dmotz/trystero/pull/57 that solves this issue, turns out the code to generate a database URL from the project ID was not working
When trying to intialise a Firebase setup:
I tried using the app ID, as well as the realtime database url, but to no avail.
According to this stack overflow it may be because the version of the Firebase SDK this project uses is out of date?
https://stackoverflow.com/questions/70823077/uncaught-error-service-database-is-not-available-firebase-javascript