Questions tagged as 'firebase'

1
answer

Problem with FirebaseDatabase apk-release Android

When I do the tests with apk-debug the data is stored with its correct key in FirebaseDatabase, as it was stipulated in the model. But when I generate the apk-release, the data is saved but with different keys. In the attached image frame...
asked by 19.02.2018 / 19:13
1
answer

Is it dangerous to expose my Firebase API KEY in Web project with the Javascript SDK? How could I protect it?

This is the code that indicates Firebase to configure a Web App that can read Real Time Database data with the Javascript SDK: // Set the configuration for your app // TODO: Replace with your project's config object var config = {...
asked by 12.02.2018 / 14:09
2
answers

Save Uid from A FireBase user

Good, I have an application where I send some data and when I send the data I want you to save me with the User's Uid that is now connected. The method I have is this private void saveInformation() { //initializing firebase authenticati...
asked by 25.04.2017 / 10:33
2
answers

Firebase Messaging O GCM?

I have a app in which I use Firebase Messaging , but I have battery consumption problems. And reading in the google docs , recommend that to save battery use GCM . So my question is: What is the difference between using...
asked by 28.11.2017 / 06:55
2
answers

Help I have the following error in an activity that lists data in a ListView

The error that is thrown is the following:    E / AndroidRuntime: FATAL EXCEPTION: main       Process: com.example.bastiancorps.geoassistance, PID: 17445       java.lang.RuntimeException: Unable to start activity ComponentInfo {com.example.ba...
asked by 19.12.2018 / 06:22
1
answer

Get data in Firebase Android

I would like to know how I can obtain data from a firebase database, I can now add the data, but I do not know how to consult that data. This is my node in firebase: If I wanted to bring the field "name" of that user, what would I have...
asked by 12.12.2018 / 17:37
2
answers

Android Studio error: error: unknown element service found

Good day I have the following error with google services in firebase Android Studio error: unknown element <service> found. Message {kind = ERROR, text = error: unknown element found., sources = [C: \ Users \ Sony Vaio \ Desktop \ Bac...
asked by 31.10.2018 / 21:09
1
answer

How can I display information from a database in Firebase in React Native within a Text?

How to read data from a RealTimeDatabase in
asked by 13.08.2018 / 06:27
1
answer

Retrieve data from Firebase

Is there any way to retrieve Firebase data from any ".child ()" that is found? So far I have only recovered data by delivering the address of the data in my Android code ... This is what I do now, example: DatabaseReference zonesRef = Fireb...
asked by 20.06.2018 / 21:38
1
answer

Query a value in the firebase realtime database

I want to check if a certain value is in the database. What I'm trying to do is get the value reference to consult and do the tour and if it finds an equal value, I print a toast, and count how many times it found the value. Here he is not doing...
asked by 05.06.2018 / 16:07