Most voted "firebase" questions
Firebase is a platform for real-time storage-based application development and data synchronization using client-side code only.
Learn more…797 questions
Sort by count of
-
20
votes1
answer10213
viewsWhat is the Firebase?
I haven’t touched with Android in a while and I haven’t had a chance to mess with Firebase. However, it is often mentioned in SOPT questions. After all, what is Firebase? It is a set of…
android firebase firebase-cloud-messaging firebase-cloud-functions firebase-databaseasked 6 years, 8 months ago Piovezan 15,850 -
9
votes2
answers551
views". read" firebase security rules
I created the following security structure in Realtime Database: { "rules": { "receita": { "$chave": { ".write": "auth.uid === newData.child('usuario').val()", ".read": "auth.uid ===…
-
8
votes5
answers3991
viewsUpdate list after push Angularjs
I have a list with several data ($scope.messages), but only some data interest me. After loading this list I make a foreach and take only the data that interests me and give push in a new list. That…
-
6
votes2
answers238
viewsFirebase Google
I currently use Google’s Firebase database, ( and other components like, auth, FCM, etc.) for my project. I wonder if there’s a way to create server-side routines. For example: after a period of…
-
5
votes2
answers5475
viewsHow to query filter in Firebase?
I’m starting at Firebase and would like to know how to query with filter, example: Select, only people who live in Porto Alegre. Today, what I have is a comic book structure. I have four tables,…
firebaseasked 8 years, 5 months ago GustavoSevero 2,567 -
5
votes1
answer696
viewsRecover firebase data with multiple parameters
I’m trying to recover a firebase node, but this one needs to meet two parameters, start date and end date. The knot stays the way they passed me an option would be to put one more value to…
-
5
votes1
answer1398
viewsNo-SQL database modeling
I’m developing a system that will use angular for the front-end part and firebase for the database. Firebase uses a No-Sql database and I’m having a hard time understanding how I can model it. For…
-
5
votes1
answer375
viewsWhat is the best way to generate Push notification using Firebase?
I have the following problem: I have a system where it is possible to register a series of tasks to be accomplished by a team or person. What I need is that whenever an order is finalized by a user,…
-
4
votes2
answers87
viewsJavascript - IF running before time
Friends, could you explain to me and if possible, give a solution to the following problem? Man if where it is written: if(aux == 0) { console.log("não encontrado"); } It is running before check in…
-
4
votes2
answers1854
viewsHow to receive data using Firebase
I made a small test app using Firebase. Everything works great when I leave the rules for anyone to have access to the database ".read":"true", ".write":"true" But when I added permissions in the…
-
4
votes2
answers676
viewsInstallation of Firebase in Android Studio
I was watching a video about installing Firebase and it says to go into: File > Project Structure, and open this image window: However, the next step is to click Cloud, but when I enter Project…
-
4
votes1
answer379
viewsFirebase: How to load random data into a Recyclerview?
I am using a Query to load only 6 items from the Firebase database in Recyclerview but so far I can only sort using the orderByChild, limitToFirst or last. Everything is working fine but... I want…
-
4
votes1
answer849
viewsFirebase database modeling: n:n relations
I’m studying firebase that uses Nosql and I came up with a question when watching this video: Converting SQL Structures into Firebase Structures - Firebase Database for SQL Developers #2 In it the…
-
4
votes1
answer236
viewscom.google.firebase.database.Databaseexception
I looked for that mistake and I didn’t find it anywhere, just a few similar but not this: com.google.firebase.database.Databaseexception: Maps with non-string Keys are not supported Controller…
-
4
votes5
answers3128
viewsHow to get Firebase data and insert it into a Textview?
I need to set the client data in a Textview. I tried to set the email, but it didn’t work because the return is null. public class PerfilActivity extends AppCompatActivity { private TextView…
-
4
votes2
answers115
viewsIntegration between Mailchimp and React Native app
I’m a beginner in React Native. I’m basically trying to accomplish the integration between my application in React Native and Mailchimp, what I want to do is: Once the user provides us with his…
-
4
votes1
answer141
viewsFilter dates in array
Currently I use firebase as my database. I need to take a collection and bring the data of a specific month according to two fields of my collection. firebase doesn’t let us make querys with…
-
3
votes2
answers228
viewsWhere to store the information?
I have an application in angular, basic with forms that stores the data in arrays and receives the dado in dados in div's. Now how can I store this data? What options have I been using Angularjs?…
-
3
votes2
answers4128
viewsHow do I search (SELECT and WHERE) in the firebase database?
I have a database like this: { "message" : "Hello, World!", "reserva" : [ null, { "codreserva" : 123, "email" : "[email protected]", "status" : "check in" }, { "codreserva" : 124, "email" :…
-
3
votes1
answer285
viewsProblems with Android Studio + Firebase
Well I am developing this app, to be able to display the information of a user in an arraylist, I run the code and it simply hangs and closes the app, I reviewed the code and found nothing, some…
-
3
votes1
answer332
viewsBeginner with firebase
I want to implement firebase in my app (Ionic). When I test a message: Unknown Provider: $firebaseArrayProvider <- $firebaseArray <- Loginctrl Should I declare my firebase settings in the…
-
3
votes2
answers807
viewsFirebase security
I’m starting to study firebase, I really liked the firebase database Altime for web, but one question that does not come out of my head is, how to protect my account if the data settings are in js?…
-
3
votes1
answer100
viewsSimple login Firebase
I already have a main login with Firebase auth. But I need to implement another login within that system, because the client can add other administrators. The login will be simple even, just check…
-
3
votes2
answers754
viewsInsert data and "primary key" into Firebase
Good morning, I’m starting with programming, and I have the following question. 1. I can enter data in firebase, but when I try to enter it again only happens to replace the data instead of entering…
-
3
votes1
answer161
viewsUpdate without Where
How to make an increment only on Child period of all students enrolled in Firebase? Ex.: in SQL, I would use: UPDATE alunos SET periodo = periodo + 1 Updating all students to their later period. How…
-
3
votes0
answers2259
viewsError 403 disallowed_useragent, when logging with google in mobile browser using angularfire2
Hello, I am using the angularfire2 v4.0.0-rc.2 package in an angular4 project published in firebase. I integrated the logins of facebook and google and both are working perfectly in the browser of…
-
3
votes1
answer464
viewsIonic - save latitude and longitude on firebase
I created a project on Ionic and I would like that when the user clicked on "save location", the position from where he left the marker was saved in his user profile in firebase, however, I have no…
-
3
votes2
answers216
viewsUse of Google Admob
I am using google admob to place ads in my app, but I have some questions I can use the same ad block (id) for multiple Activity (each with a block)? How do I make the ad the first thing to load?…
-
3
votes1
answer819
viewsHow to get the uid of the currentUser in the firebase in flutter?
After the splashscreen I check if the currentUser is null. If it’s not I redirect it to my home. The problem is that this user’s UID is null. I wonder how do I get this UID from currentUser. I used…
-
3
votes2
answers1131
viewsonDataChange(), in addListenerForSingleValueEvent(), is only executed after my method returns
I’m trying to check if a given email exists, with android using firebase I’m doing this way : public boolean existeEmail(String email) { final boolean[] retorno = new boolean[1]; final…
-
3
votes2
answers385
viewsProblem with notification icon
I know there are several questions related to this. However, I have found nothing with my specific case. I will explain... I use the same code to display a notification both for notifications when…
-
2
votes2
answers312
viewsHow do I prevent my firebase application from being used on other websites?
How to prevent other people from taking this code from my site and using it on others, or how to make it only work on mine? var config = { apiKey: 'your-api-key', authDomain: 'your-auth-domain',…
-
2
votes1
answer598
viewsSearch last firebase record and incrementing in new record
I need to fetch the last code in an array of objects in the firebase. Then increment +1 on that last code and then save the list with the objects. For now I created a generic DAO: //Dao generico…
-
2
votes3
answers99
viewsFirebaseexception: Failed to Bounce to type
I’m trying to requisition an app for firebase. I can save data in the database normally, but when retrieving it, I find the following error: 06-20 12:07:15.151 28158-28158/sgk.com.br.sgk…
-
2
votes1
answer634
viewsToken FCM (google) associate to User, at what time?
An app that has User Registration and Login, consequently an ID for each user. When the FCM Token is generated ? I implementing within: onTokenRefresh() , the Token can be generated before I have a…
-
2
votes1
answer938
viewsLogged in user information does not appear using Firebase!
I’m developing a web-app! In this case, a chat, however, a chat with new and cool functions! I’m doing it just for learning and fun! In the app, I’m using Firebase, to create Logins, Notifications…
-
2
votes2
answers359
viewsFirebase cloud messaging - Advantages
Besides having the possibility to work with messages, in the push Notifications style; What advantages do you see in the FCM? I’m talking about resources that really matter and help developers, and…
-
2
votes1
answer49
viewsDoes Firebase Analytics need to be initiated in all activities?
I am in an uncomfortable impasse. I am creating the habit of using Firebase in my project, but I do not understand how to use it. I need to put the Firebase Analytics code on all activities or in…
-
2
votes2
answers292
viewsWhy doesn’t the data appear on the screen using firebase and angular?
Good afternoon, you guys, Something that should be simple and I can’t. I’m checking my database at firebase, where you have two records stored. I do the search and appear returns the data in the…
-
2
votes1
answer341
viewsFirebase database query in ordered "relation"
Given the documentation I reached the following bank structure { "users":{ "5511995278831": { "name": "User 1", "email": "[email protected]", "about": "sdf sdf sdf", "sms_code": "10", "active": "1",…
-
2
votes1
answer716
viewsFirebase reference error
I am developing an application in Android Studio and using Firebase as a bank, but after finishing the structure of the project when I went to test it accuses a reference error of Android Strudio…
-
2
votes1
answer858
viewsFirebase , how to play an audio in the firebase Audio Log by clicking a button?
I’m developing an application , that when clicking a button it plays an audio , but if I put all the audios in the application , will be very heavy , would have as I put in firebase these audios ,…
-
2
votes3
answers887
viewsFIREBASE + NODEJS error: Firebase App named '[DEFAULT]' already exists
I have a CRUD made with NODEJS + EXPRESS, using FIREBASE. I add a record normally, but when I add the next one, it gives me the error: [DEFAULT]: Firebase: Firebase App named '[DEFAULT]' already…
-
2
votes1
answer206
viewsPick address when adding marker on map
I would like to know how to get the address when the client adds the marker to the map, and already save it to the firebase server. Thanks in advance :) @Override public void onMapReady(GoogleMap…
-
2
votes1
answer915
viewsAdd it up to a firebase Child?
Hello, Would like to get the value of a Child at firebase, add a number and update Child with the result of summing up. Code on the Oncreate() uDataBase =…
-
2
votes2
answers935
viewsAndroid Studio - Firebase - Search & edit data
I’m creating an app using Android Studio, which stores customer information in Firebase : I need to create a way to search for these clients by name or CPF, if it is necessary to change something,…
-
2
votes1
answer451
viewsView Firebase Child in Ionic
Hello! I have a project on Ionic that I need to display some promotions, however I need to "update" them after the app released. For this I’m using Firebase! I managed to display in the app what I…
-
2
votes1
answer353
viewsFirebaselistobservable transforms into Object Array
I am using Ng2-Smart-Table, according to the documentation it accepts an array of objects to mount the table: In HTML: <ng2-smart-table [settings]="settings"…
-
2
votes0
answers179
viewsLogin with Firebase
I am developing a Login screen with firebase, I would like to know how to block a call from Xmlhttprequest via browser console? The login is done via ajax, when I receive the login information from…
-
2
votes1
answer3814
viewsRegister user with photo in firebase
Good night! Guys, I’m registering users in my app and would like to in addition to the personal data I will save in the database Realtime I would like to also save the profile photo and a cover…