O'Reilly logo

Learn ARCore - Fundamentals of Google ARCore by Micheal Lanham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up the database

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:

  1. Close the configuration dialog that we left open from the last exercise.
  2. Click on Database on the left-hand side menu.
  1. 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.
  2. 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": ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required