Time Questions
Ad
Ad
how to redirect page with time interval
Easy way to redirect the user to the desired location with proper information and time duration, this is a temporary way to redirect users.
Uncaught TypeError: map is not a function In Reactjs with Firebase
Hi i am new in react and firebase database. i am getting error while try to print data using map.
How to stop refreshing/re-creating activity when updating Firebase data using setValue?
When, using a button, i try to update a data in firebase realtime database using setvalue() method, it recreates the activity
Firebase realtime database - getting data within time range
On my android app, i have a calendar. when i click a date, i want to just show the items from that selected date. in other words, filter all other
Where and when to use Firebase admin.app().delete()?
I'm new to using firebase and node.js and have a general question on where and when to use ' admin.app().delete() ' ? i understand it's
How do I access an unknown node in firebase while retrieving data?
I want to retrieve the data beneath a node in firebase which has an unknown id. i have used push().getkey(), which assigns an
How to call a function when firebase query doesn't match anything in the database
I'm trying to implement a friend adding system for a react native project. i'm using firebase realtime database. the problem is when i use the
how to add progressbar for loading in Firebase RecyclerView
I am developing an android app the app fetches the data from firebase using firebaserecycleradapter and i need to implement a
Convert value with child into Java Object in Firebase Android
I have read the question on
What does the name of the struct timespec from the C standard library stand for?
As in the title, what does the name of the timespec struct in time.h from the c standard library stand for? is it
How To Use Eonasdan Datetimepicker in React
What is the best way to use the latest version of eonasdan datetimepicker in react the project url:
Ad
Wait end of two subscribe to make an operation
I have two subscribe like this : this.birthdays = await this.birthdaysp.getbirthdays(); this.birthdays.subscribe(groups => {
How to get data for a specific User using their uid?
I would like to get data for a specific user, which i know its uid, i want to retrieve all the data that is for that specific user. can you help
Is it safe to send the access token in the URL? Firebase Realtime Database REST API
I am using firebase realtime database rest api on the client-side. i noticed that you need to send the access token on the url and this info is
Trying to make a chat app in android studio but I am unable to append the texts
Chat.java : my app only shows the last message typed and shows in the chatwindow. my firebase database gets the messages but i am unable
How to get last key firebase
How do i get the last id entered in realtime? i have something like that, and i need the id of the last record entered in license
Retrieve only some params from a node at Firebase (web)?
Does firebase allows me to fetch only some params from a node ? example user has: id, name, email, birthday, zip_code
Is using keys in React to recreate a component a bad practice?
Here is the scenario: i have a timer which counts from 60 to 0, when it's finished (it's on 0), user can select a button (which is located in the
Can't modify public variable inside value event listener Angular firebase database
I am trying to set a variable i have declared as public inside my class inside of a value event listener in firebase. although, i am receiving the
Display data from promise firebase
I have a service like this async getbirthdays() { const user = await this.authsp.getuserinfo(); let bdays = [];
Property 'toDate' does not exist on type 'FieldValue | Timestamp' but WORKS
I'm using cloud firestore to store chats, which i would like to sort by lastestmessage.created. i was not able to use the query because i was
Access Firebase Storage from Firebase Functions
My ultimate target is to generate a pdf and send it via email through firebase cloud function but i'm still testing things out. i am sending
Ad
Voting: Vote registers twice
I am making a voting system. but when you upvote then remove the upvote, the score moves up one then down two. if you then try to downvote, the
How to retrieve the middle value of a node
I have a firebase structure like this "lists" : { "-llbpky9q8ufcxcwem4b" : { "-llby-5q9hx0ylfkbkev" : {
Lifetime of a structure with no arrays in it
Take this code: #include <stdio.h> struct s { int x; int y; }; struct s foo(int a, int b) { struct s s = { a, b };
Firebase onDisconnect not deleting user name on disconnection
Perhaps i am mis-using ondisonnect(), but i looked at the example code on the firebase.blog and am doing my best. when a user submits a
Why do I get all users data if I just needed one specifically?
I am trying to get the image url for a specific user but i end up getting it for both users that i just created randomly. all i need is one user
convert Unix time to firstore timestamp in a cloud function
Step 1: i am reading from a weather provider and they provide sunrise time in unix, utc - something like "1565616151"
Firebase database trigger - get database object from snapshot
I am writing a firebase database trigger function to push notifications to several users. for consistency i would like to batch all write
Gettimeofday not working when assigned to variable
I have a simple timestamp issue. i am trying to get a timestamp using gettimeofday and it all works as it should when i print the
How to add the same childByAutoID under multiple structures in Firebase using Swift?
To create a new value, i use...
Firebase & GeoFire fetch double adds new post to collection view
Getting double posts in my posts array when adding new posts. resulting in 2 identical new posts in my collection view im running firebase
Swift 5, how to execute code after fetching all childadded from Firebase
How can i execute some code after fetching all childadded from firebase in swift 5? i've tried using dispatchgroup and observe .value, but
Ad
Problem in retrieve data from Firebase database in C#
I'm currently trying to retrieve data from my firebase database. the current function i able only show the data. however after i retrieve the data
Item gets duplicated in adapter, when we delete or update item from Firebase Realtime Database
Items in adapter gets duplicated 2 or 3 times when we try to delete item from list in firebase realtime database. last item in adapter
How to write security rules of firebase-Realtimedatabase so unauth user can read and write only at my specific nodes
I want to know how we can write firebase realtime database security rules in the way like unauthenticated user can read and write on a specific
The List values and my given value is equal then the checkbox will be checked?
I'm working on project in android. my situation i stored list value in firebase realtime database and then the list value and my given value is
Debugging: ESLint Warning "Function declared in a loop contains unsafe references to variable(s)...no-loop-func"
Building a sort-visualizer in react using the create-react-app
How to get all elements whose id contains a particular substring?
I'm building a chat with firebase realtime database. let's say user1 has uid1 and user2 has uid2, their chatid will be uid1_uid2 (ordered
Firebase database rules for group-shared data
My webapp, like 99% of apps, has in db a collection of users. i can access user at /user/ so i setup rule to allow every user to access only its
Does Firebase Cloud Function Trigger Parallel or One by One?
I am working on a firebase project. i have a cloud function that triggers on a change of a value of one of my collection in my realtimedb.
How do I add equal elements to an array in Firestore in Flutter?
I just figured out that in flutter list<int> values = [1,2,3,1,2,3]; firestore.instance.path.updatedata({"values":
Ad
Firebase - Add Children to Array List - java
I have a list of estates in a route that a bus visits, however somedays the estates close and an admin has to change the route list, i would like
How to iterate through children in Firebase - Java
I want to iterate through children in a firebase real time-database node this is my database structure.
Reading and writing to firebase database using Firebase list adapter
I am trying to read data from the firebase database in a listview. each item in the listview comes with a button, once
Why does my swift app crash whenever I go offline?
I have an app that requires the user to leave the app to connect to another device's wifi network. however, when i change to that wifi network and
Android application crash using Firebase Realtime Database in Android Studio IDE
I'm making an android app connected to firebase and i'm using realtime database in it. the problem is that the app, that i've installed on
Program type already present: android.support.v4.app.INotificationSideChannel$Stub
I am getting the following error and i am not able to fix it program type already present:
Why does it return only one uid when tapping a button inside the tableViewCell?
My problem that i present to you is that, i have a button inside a table view cell and when tapped a person name it displays the current user uid
Way to handle error case in realtime database "firebase"
Im trying to write on firebase realtime database via my android app using setvalue() it works very well.. but i don't know how i can
how to get the name of parent A+ for this code?
I am unable to access this parent node using that code. public void oncomplete(@nonnull task<authresult> task) { if
Unclear about this use case on Firebase Cloud Functions
I am working on some feature using firebase and i need to send notification to the user on this scenario: first-> user registers a value
How to use two firebase database in angular application
I have a environment variable like this export const environment = { production: false, firebaseconfig: { apikey:
Ad
Is Firestore a good choice for time series data?
I have a small project involving some simple financial time-series data with some real-time components on the front end. i was hoping to use the
How to retrieve the current user image and display in imageView?
I want to learn how to properly retrieve the image from firebase for the current user.i am trying to get the user imageurl from the
Link image/gif uploaded by non-authenticated user to the text post by same user
I have seen all related posts on stackoverflow, this is not a duplicate. please read the whole query once. i'm making an app that allows users to
Adding value to a list in Firebase Database
I'm working on a kotlin app. it requires me to create my custom data type (user.item) that represents an item. i'm using a mutable list to work
How do I populate a timestamp-typed value in firestore document from javascript?
I'm completely new to firebase and i was wondering how i can add a timestamp to a document on creation. i have an html form and when the user
Saving Fragment EditText contents via the main activity FAB button onClickListener
I have a tabbed scrolling activity with several fragments as follows: com.example.myapp ui.main
How to filter and retrieve nested child in Firebase realtime database?
This is a simplified version of the db structure that i'm working with: "user" : { "nhbaq9p8brmoaibjnkvllxtdinz2" : {
Which is more better Firebase using Query or using Normal Reference
I noticed there are 2 types to retrieve a user data. which one is better? firebasedatabase = firebasedatabase.getinstance();
I cannot retrieve dynamic link from firebase through my application as pendingdynamiclinkdata is null
I am trying to retrieve the deeplink url from firebase but always shows me null. i have added below code
Get Hashmap Values from realtime database
I'm having issues getting data snapshots value and i believe its because i'm wanting to access a hashmap<string,hashmap>()
Linking Google Firebase to Google Billing Subscription - Android Studio java
I am trying to link my firebase application to google billing subscription. because i am trying to provide a subscription-based service but with a
Ad
It doesn't load from Firebase on the Fragment Activity ('FragmentOne' is clear and it shouldn't be)
I made a recycler view on a fragment , wired it with the firebase, but it won't show anything on the activity , doesn't load from firebase.. i
Firebase realtime database rules - Allow multiple user access to list all messages
I would like to give multiple users access to fetch a collection of "messages" they have access to in firebase realtime
How to loop through data in Map with Java
Fetched data from firebase database and added as a map object. now i need to loop through every key's value so i can get child data from it. here
Kotlin lateInit has not been initialised error crashing application
I have an android kotlin application fragment with three elements in the resource layout:
Firebase spend and AdMob ads
I would like to ask you a question about the value of firebase and admob ad earnings with an android app. i am creating an application that uses a
Firebase deploy error - Cannot find module 'firebase'
I'm trying to deploy google cloud function triggers that trigger from db events, but when i run firebase deploy the functions aren't
How to properly update state with Firebase and useEffect()?
I'm trying to fetch data from firebase and then push it into my state. the goal is to create a mechanism that will do that every time data in
How to push new data into firedatabase reference and not overwrite it
I have create a class called gameinfo that takes in a time (time takes to finish the game) and a count (game1, game2, game3 etc). in my
How can I filter a particular set of users stored in the database?
I am creating an ios app where i have a standard set of user data in my firebase real time database. the user data consists of values such as
Unable to get list of cities from firebase
I am trying to get list of cities from firebase and showing in spinner. but i am getting following error below:
C: Creating a static array with variable dependent on runtime functions?
As static arrays are created during compile-time, may i set the length of the array with a variable obtained through e.g. another function? i
Ad
Create a realtime observer in Firebase that always updates changes using Swift
I want to create a function that will update my tableview whenever changes are made to the database.
I upload a picture successfully to the firebase storage but the download url is not stored in the database
I'm trying to save the stored image's url in the database however it doesn't successfully do that. it doesn't show any url's in the database as it
How to retrieve the User info?
I want to retrieve data uid in user table data but for a specific user , i have 2 users, and it seems that it grabs the
How to use the scrollView correctly?
I wanted to know how to correctly use a scrollview in a viewcontroller, i want it to scroll up and down normally on iphone 5s simulator is doesn't
Firebase Realtime Database or Firestore for chatting app?
We are building a chat app, one-to-one chatting is the main purpose of the app so for now, messaging speed is our first priority. we need a
How to search in firebase using query that has special charactar like '+'
I am searching in firebase using orderbychild("telephone").equalto("+11235123") and the value of the telephone in firebase is "+11235123" it
How do I handle reads and writes of objects containing a server timestamp in Firebase?
I'll explain. i've been stuck with figuring out how to handle timestamps in firebase using fieldvalue.servertimestamp(). so
Realtime Database - How to change security rules for checking if username exist
I am trying to check if a username already exist in the database. here is the code i have written for that..
com.google.firebase.database.DatabaseException: Failed to convert a value of type java.lang.String to long
I am getting an error when following the docs of firebase database in attempting to retrieve data to an object for use. here is my object
Firebase Realtime Database Update Data - Android Java
I'm making an edit page for the user profile in firebase. i've tried a few different ways. but i could not update. just a added as a new user to
How to get Data from Firebase using Kotlin?
I'm trying to get an information ('firstdate') saved in firebase using this code: if(currentuser != null){ val ref =
Ad
How to fix the async issue of firebase
Im trying to query and update data to firebase. but i cannot get the data. it seems the program doesn't run into ref.observesingleevent what
How to use a data from one table as a reference to get another data in another table using Firebase?
I just retrieve a list of data from a table named 'appointment'. from this table, i will need to get a data named 'theraid' in order to get the
How to download firebase data base as a CSV file from android
There is a requirement for download the database data as a .csv file. how can i get data from firebase realtime database and convert
How to get the number of weeks in a particular year? Also how to get the current year using zend?
1 <?php 2 // get number weeks of year for 2008 3 // result 52 4 echo date("w", mktime(0,0,0,12,28,2008)); 5 ?>
How to get Firebase database saved data according to date?
I stored my data on firebase according to auto-created id. but now i need to get only today's added data from the database and populate a recycle
Finding nil when reading from database
When trying to read from firebase i get fatal error: unexpectedly found nil while unwrapping an optional value
How to check if email already exist before creating an account (Swift)
I know different variations of this question have been asked. however i seem to keep running into the same issue every time. i want to
Firebase child is not being remove, parent is
I'm using react-native and am attempting to remove a child ref, my function is... cancelsleep = ()=> { const rootref =
For some reason cant deserialize object from Firebase response
Everything looks good. need help in finding a mistake in code. by the logs that is the snapshot from firebase datasnapshot
Trying to login with google returns permission denied
I have following security rules for my database: { "rules": { "users": { "$uid": { ".write": "$uid ===
How to delete cell from UItableview, when it is removed from Firebase in onChildRemoved method?
I am populating my uitableview with data from firebase and when i remove the data from firebase, it is still showing up. i do not know what to put
Ad
RecyclerView scrolls to bottom whenever I load the data from Firebase
Basically, whenever i load data into my recyclerview it automatically scrolls to the bottom of the recyclerview here what my function
How to use update promise?
So i have this functions here return db.ref("/data/" + item.id).update({ imageuri: item.imageuri, name:
Ad
Blog Categories
Ad