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.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

How to insert data from DataSnapshot to LiveData<List<Model>>?

I need to insert the data I got from firebase to a LiveData<List>, I'm not sure how to do so public LiveData<List<MedicationViewModel>> getAllMeds(){ mDatabase....
0
votes
0answers
5 views

App keeps crashing due to Firebase DatabaseException

My users are getting the following exception after they download my app. Basically the app crashes completely when you try to open it after downloading from play store even on my end, but when I run ...
0
votes
0answers
11 views

How to load Recycler view Faster With Firebase Database Android

So am Actually trying to make chat application which I made using Firebase so my problem is whenever an user opens the app it there's some delay in loading recycler view which makes it feel like the ...
-1
votes
0answers
17 views

How to filter firebase data to display on recyclerview

table with true in done node table with false in done node I have a firebase database with a table Trips which i created to record all the trips which user make. In trips database i have a node ...
0
votes
0answers
6 views

Emulator database onUpdate update.after.ref incorrect

I use the emulator for functions and realtime database, and have a test onUpdate function attached to a secondary database (not the default one). const admin = require("firebase-admin"); ...
0
votes
0answers
31 views

Async Storage saves but cant retrieve the data

I am trying to save the liked items array to the local storage and then load it when the app launches using AppState API and AsyncStorage library. Here is the code: I changed the conditions with their ...
0
votes
0answers
15 views

How can i achive following database patteren in firebase?

I have Uid of customer. The thing is that how can i pass data after random step? const load = database().ref('users/' + uid + '/gun/' + gid + '/data/'); load .child('/loaddata/') .push(data)
1
vote
1answer
22 views

How to cancel Flutter RealTime Database Transactions

I have a firebase object that a user increments but can't increment to a certain number. I want to have a condition in the transaction to prevent the user from incrementing past a set number. How do I ...
0
votes
1answer
16 views

How to get all children firebase realtime database?

My insert() function: public void insert(RSSModel rssModel, String TABLE_NAME) { database.getReference() .child(FirebaseAuth.getInstance().getCurrentUser().getUid()) .child(...
0
votes
0answers
11 views

Flutter. When the user updates the profile image, I would like to have the administrator approve it

I use firebase realtime DB. And when the user uploads the image, I want to complete the upload only when the administrator approves it. But I'm asking because I don't have enough information about ...
0
votes
0answers
7 views

How I can get firebase.json from existing project?

I have Firebase project already deployed (not by me) with hosting. I need to set custom 404 page. As I understand, I need firebase.json file for it. How I can get it?
0
votes
0answers
12 views

How do I make a rule in firebase realtime database security rule so that only those users can write the data if they are in certain time slot?

Basically if I have a document in the collection which has a certain field, let's say, a start time and an end time. Now I want the user incoming write request to pass only if that user's time falls ...
0
votes
1answer
21 views

Firebase admin sdk listen to realtime database

Hi i was learning Firebase realtime database in my spring project using Firebase admin SDK. My main intension is to send the notification to users based on child(new chat) items added to the main node ...
0
votes
2answers
38 views

Firebase getInstance returns null

I want to download data from firebase. and I used the method below to use it comfortably among the activities. In mDatabase I can view data being downloaded in debug mode, but I cannot transfer it to ...
1
vote
1answer
23 views

How to create/initialise default Realtime Database instance in a Firebase project using CLI?

I am trying to set up a Firebase project that needs a default Realtime Database instance using non-interactive CLI. I've tried deploying the rules: ? firebase deploy --only database Error: It looks ...

15 30 50 per page
1
2 3 4 5
2319
 
久草视频新免费_日韩视频一中文字暮_欧美三级片