So this morning I woke up to a minor Firebase Console design. The left side menu usually has
Authentication
Database
Functions
I don't remember the fourth item
But today there is Realtime Database and a couple of added items see attached image. When I click Realtime Database I can not see my existing database but instead see a CTA to create a database and some documentation links.
I am using the following link to access the console https://console.firebase.google.com/u/0/project/my-project-name
How can I can access my database?
From the tag used in your question I understand that you are using Cloud Firestore (and not the Realtime Database).
Firebase offers two cloud-based database services, which both support realtime data syncing: Cloud Firestore and the Realtime Database (the Firebase's original database)
Before yesterday (12 August 2020), on the Firebase console, there was only one vertical menu item for these two database Services.
Yesterday, this unique vertical menu item for Database Services was splitted in two: one vertical menu item for Firestore and one for the Realtime Database.
The URLs for each database "console page" have therefore changed. To access your Firestore database console you should select the "Cloud Firestore" vertical menu item.
Related
I'm using AWS Amplify DataStore to store data to the cloud. When the device is offline, DataStore will keep the data in local storage until it's online again.
This is working fine but I'd like to display an offline/to be synced icon next to the those items that are not pushed to the cloud yet.
DataStore.query only seems to give me the content based on the model defined, is there any metadata I can use to determine whether or not an item is saved to the cloud?
Thanks!
I want to share my Realtime database to my friend to edit it and add some data,
but I don not want to share him my firebase account,
So is there any way to handle this issue,
and is it possible to share it to him using Firebase Realtime database reference URL?
You can add members(emails) by clicking on settings (left top corner)
I am new to firebase and React Native.
Is there any way in firebase that I can get the list of users with my required data(i.e phone number) or any other data that I may send from the App to the firebase when the users navigate to a specific screen in the App.
Currently, I can see Analytics -> Events -> Screen Name and then there is engagement time. Can I pass and get there my required data i.e users id or anything that I will pass. If yes, How can I achieve this ? Or is there anything else I need to do for this ?
Thanks!
There is no Firebase API to get analytics data from Analytics into your application code.
If you want your app to show a list of users, the common way is to store that list of users in a cloud-hosted database (such as Firestore or the Realtime Database that are also part of Firebase), and then read it from there into your app.
I have one mobile app, and every customer have a lot of data under user account. It is possible to make one database firebase for each customer ? Xamarin app...
You can create multiple databases directly from the Firebase Console as mentioned here.
In case you need to create the databases programmatically as new users sign up or so, then you need to use Firebase Realtime Database Management API.
To create a new database, make a POST request:
https://firebasedatabase.googleapis.com/v1beta/{parent=projects/*/locations/*}/instances
Firebase's documentation has the following paragraph:
Using Cloud Firestore and Realtime Database: You can use both databases within the same Firebase app or project. Both NoSQL databases can store the same types of data and the client libraries work in a similar manner. Keep in mind the differences outlined above if you decide to use both databases in your app.
I can't find any documentation on how to add a Cloud Firestore to an existing project with a Realtime Database, though. I will ultimately upgrade to Cloud Firestore, but would like some time to experiment and learn before I convert the production database.
Does anybody know how to use both databases in the same Firebase project?
When you go to your project in the console and choose the Database product, you should see something like this the first time:
This is a selector that lets you choose to see either Realtime Database or Firestore in your project. You can switch between the two with this selector.
The first time you select Cloud Firestore, it will ask you to configure things. Start in "test mode" to set things up for full read and write without authentication to get started quickly, but of course your should always have rules set up in production.
After you set up Firestore, you should be able to use both client SDKs to access both databases independently.