Questions tagged [firebase-realtime-database]
Firebase Realtime Database is a cloud hosted, NoSQL, JSON database that provides offline caching and synchronization. Do NOT use this tag for questions about Cloud Firestore; instead use the [google-cloud-firestore] tag.
firebase-realtime-database
40,161
questions
0
votes
0
answers
16
views
App Crash com.google.gms:google-services:4.3.15
I encountered below problem.
Problem:
App Crash com.google.gms:google-services:4.3.15
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx.yyy/com.xxx.yyy....
1
vote
0
answers
39
views
React app won't write to Firebase Realtime Database
My React app won't write to my Firebase Realtime Database. I am doing everything exactly as the Firebase tutorials say but nothing. No error messages in the console or requests in the network tab ...
0
votes
1
answer
27
views
Why are my Firebase RTDB Rules Always Returning Unauthorized
Rules
{
"rules": {
"Accounts": {
".read": "true",
"$user_id": {
// Check if object has all required values after operation
...
1
vote
0
answers
22
views
Cannot open RTDB Stream using C in ESP32
I'm making an api wrapper for Firebase API using C and ESP32, I'm able to pull and push data to RTDB. Currently I've been struggling to stream data from RTDB.
This is the current code I have that is ...
1
vote
0
answers
41
views
Firebase Admin API fails silently when writing to realtime database
I am having problems with a dockerised Java application that uses the Firebase Admin SDK to make updates to a Firebase Realtime database.
This code has worked well for years in a Google hosted ...
0
votes
0
answers
18
views
SERVER TIMESTAMP for Realtime Database in Cloud Functions (Python) [duplicate]
To get the SERVER TIMESTAMP for firestore, it is
from firebase_admin import firestore
...
{"createdAt": firestore.firestore.SERVER_TIMESTAMP}
but how to get the SERVER TIMESTAMP for ...
0
votes
0
answers
31
views
Unable retrieve user Data from realtime database firebase in flutter dart
I am unable to retrieve user data such as name from my firebase real time database. My datasnapshot at this line is always null so it fails the next check.
var dataSnapshot = await _dbRef.child(_user!....
0
votes
1
answer
24
views
Error 400 when sending a valid JSON file to Firebase Realtime Database through CLI
I'm trying to upload a JSON file to a Firebase realtime database but I keep getting error 400. I've uploaded the same JSON file manually through the firebase website and the upload is completed ...
0
votes
0
answers
33
views
My flutter login Page gives this error, Null check operator used on a null value See also: https:/'flutter.dev/ docs/testing/errors
I am developing a PLant Disease Detection app using Flutter, and despite my best efforts, I encountered an unexpected error. I am creating a login page for my disease detection app, below is my code. ...
-1
votes
1
answer
25
views
Can I use Gemini to analyze a JSON firebase RTDB?
I have a DB at https://dbname-rtdb.firebaseio.com/. I would like to run a prompt in Gemini that says something like
"Do an analysis of the database on
https://dbname-rtdb.firebaseio.com/...
0
votes
0
answers
32
views
Firebase realtime database always return null list while using viewmodel
Firebase realtime database always return null list while using viewmodel/livedata. But if I use the same code in Fragment itself it works.
this is my viewmodel
package com.example.taxinfo.viewmodel
...
0
votes
0
answers
13
views
Firebase realtime database "like" query of nested object [duplicate]
I have a firebase real-time database with this structure :
With a web application I need to find al documents in files that have a label that startsWith per.
In the example in attached I suppose to ...
0
votes
1
answer
75
views
Can't convert object of type java.lang.String to type Orders_Class. How can i fix it?
How can I retrieve data from products in my orders child Firebase Realtime Database:
This is my Orders_class
this class contains only orderId and Order full pay
package com.example.safetysouq....
-2
votes
0
answers
27
views
Whats the problem with my function uploadDataDB( ), My user data is not uploading in theDB
private DatabaseReference reference = FirebaseDatabase.getInstance().getReference();
private void uploadDataDB() {
reference = reference.child("UserData");
final String ...
0
votes
0
answers
18
views
Firebase Altering Data [duplicate]
Before sending data to firebase realtime database, it's right, but after I make the request, the data returned is incorrect.
for year in data:
for month in data[year]:
requests.put(f'{firebase}{...