If you wish to support this project, you can find my Patreon here (this will be updating more regularly as I'm starting to get more interest): https://patreon.com/diurnalproductions
and my Ko-fi here: https://ko-fi.com/kyleszklenski
- Copy the folder GDFirebase to the project path res://addons/
- Open your Project Settings
- Go to Plugins
- Activate the GDFirebase plugin

- From there, you will have an autoload singleton with the variables Auth, Database, and Firestore; reference it by using Firebase.Auth, etc.
-
Go create a Firebase app at console.firebase.google.com. A Guide can be found Here
-
Once the app has been created, add a web app to it
-
This will show a series of values called "config". Take those values and copy them to the appropriate fields in Firebase.gd, found in the GDFirebase folder
-
Use Firebase.Database.get_database_reference(path, filter) to add a listener at a given path in your database. It will return to you a value to which you can hook up to a few different signals, and to which you can push data. You do not have to manually add it to the scene tree, as it gets added automatically. You can listen to many places at once, as needed. You can, optionally, pass a Dictionary of tags (found in FirebaseDatabase) to values representing your filters and queries. Queries are currently cached, so they can't be dynamically updated, but I can add that if there's a desire.
- Implement other Firebase features: Ads, Remote Config, Dynamic Links
- Add comments to code
- Create documentation



