Questions tagged as 'firebase'

1
answer

Save results from a function in a variable Ionic 3 + Firestore

How do I save the result obtained in r.get ('quant') into a variable and return its value, because the first console.log shows the data I got, but the second does not, and the return quant always shows undefined on the console. getQuantProduto...
asked by 17.10.2018 / 02:25
1
answer

How to recover data using FirebaseRecyclerAdapter that has automatically generated IDs?

I have an error using FirebaseRecyclerAdapter, at the time of retrieving the data the firebase has this error: " com.google.firebase.database.DatabaseException: Expected to List while deserializing, but got a class java.util. HashMap " I saw...
asked by 12.10.2018 / 01:02
2
answers

Error accessing Storage Firebase in Android Studio App

I have a problem while trying to set an image of storage in ImageView of Android Studio, this error in logcat appears:    User does not have permission to access this object.        Code: -13021 HttpResult: 403       {"error": {"code":...
asked by 10.10.2018 / 21:46
1
answer

Error running React Native app out of debug mode

I have a strange error that I could not find anywhere how to solve. When running the app in debug mode it goes quietly without errors but when running the same app without any changes with the debug mode disabled it gives the red error screen. C...
asked by 06.10.2018 / 06:16
1
answer

How to work with Firebase Storage offline?

I've been studying the features of Storage and Firebase RealTime Database. In the case of RealTime DB, you can enable data persistence while offline by setPersistenceEnabled() . Now you wanted to know how I do something like this in Storag...
asked by 08.10.2018 / 16:31
1
answer

RealtimeDatabase Read data via Java Script

I have the following JSON "colecao" : { "id" : { "subid1" : 2, "subid2" : 1 } } Use the following commands to get realtime data var dbrealtime = firebase.database(); var query = dbrealtime.ref('colecao');...
asked by 07.10.2018 / 15:05
1
answer

How to get data from a RecyclerView item by clicking on it

Good morning, personal. I'm populating a RecyclerView with data from a Firebase database. So far so good, it is displaying everything correctly. My question is how do I get the user id when I click on the item. I know how to do it if the id i...
asked by 11.10.2018 / 14:03
0
answers

Query for key value in Firebase

Hello, I need to filter the data by the value of a key (dataInclusao, dataFinal), I need to get the data between these dates. The path is "visits / (key-generated-by-firebase) / dataInclusion", but I can not make a Query in this path because...
asked by 14.10.2018 / 07:53
0
answers

How to make complex queries on firebase with Ionic?

I'm making an app with Ionic 3, using Firebase as a backend, which functions as a social network. In an app screen the user can search for other users based on criteria such as: sex, minimum age, maximum age, city where they live, etc. The cr...
asked by 02.10.2018 / 23:02
0
answers

Bring information from Firebase to a Searchbar - Ionic

Well, I'm developing an app with ionic 3 and firebase ... What I'm trying to do, would be basically to bring data from firebase (Real Time), and play inside a vector, and then check with Searchbar. But I'm having problems ... I can bring the data...
asked by 08.10.2018 / 14:52