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,159
questions
1
vote
0
answers
18
views
same uid anonymous writing to firebase from different browsers. What's going on?
I am writing to firebase, using "@angular/fire": "^18.0.1",. And it is the only firebase package in my .json file.
I wait for UID. I only console log one uid.
private auth: ...
0
votes
0
answers
15
views
Prototype issue whith Firebase cloud functions
I have an issue while writing Firebase cloud functions.
Here is the relevant code I have for a cloud function:
import {onRequest} from "firebase-functions/v2/https";
import * as admin from &...
0
votes
0
answers
18
views
On first search results Firebase old data is shown from cache in Android application. Value updates on repeat search
I have an android application that helps in doctor appointments. On one side, the concerned doctor adds slots in the mobile application on the other side users searches for the dr, his/her profile, ...
0
votes
1
answer
39
views
how to properly set a secured firebase rules
I used the following code in php to insert records into Realtime firebase and its working fine.
// Initialize Firebase Credentials
const URL = 'Firebase URL GOES HERE';
const TOKEN = 'Firebase Access ...
0
votes
0
answers
17
views
User details doesn't get registered in firebase when signing in from my Flutter app
I'm developing a mobile app using Flutter and use Firebase for backend services. I'm using Firebase Authentication for authentication. The method is email and password. However when signing up the ...
1
vote
2
answers
56
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
46
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
28
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
24
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
20
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
25
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
34
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
30
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/...