With that, we have set up the ARCore Firebase project. Now we want to create our real-time database and set it up for us to connect to. Go back to the Firebase Console and follow the given steps to set up a database:
- Close the configuration dialog that we left open from the last exercise.
- Click on Database on the left-hand side menu.
- Click on GET STARTED. This will create a Firebase Realtime Database with default security turned on. We don't really need authentication at this point, so let's just turn it off.
- Click on the RULES tab. The default security rule is defined with JSON. We want to change this so that our database has public access. Replace the JSON with the following:
{ "rules": { ".read": true, ".write": ...