Questions tagged as 'firebase'

1
answer

how to show saved data in Firebase database with android studio

Friends I'm doing a project in Firebase database with android and I need to consult and get the last three values saved with the name of "dose" this is the structure in Firebase This is my user.java class public class usuario { private S...
asked by 05.10.2018 / 01:20
0
answers

Delete a firebase item from ionic 3

I get an error in removing a firebase item. I can add but not delete if I delete, I delete the entire table. My code: import { AngularFireDatabase } from 'angularfire2/database'; export class LoginPage { arrData = []; $...
asked by 03.10.2018 / 18:56
1
answer

How can I call information from Firebase Database to Android Studio and show it in an activity?

Good day, I have this information saved in Firebase Database I would like to read it and show it in an activity in the following way. I have this code, I do not know what would be the simplest option or how would the onDateChange...
asked by 26.09.2018 / 17:28
0
answers

how to recover a single record of firebase if my code is with subcribe and valueChanges I get error

this is my code is in angular I have two components, the service that communicates with firebase and this is the component where I want to call the function and retrieve just one object but I get this error I hope you can help...
asked by 30.09.2018 / 01:04
0
answers

Firebase Real Time Database only works within the unity editor

I'm doing a project in unity where I use firebase and doing the tests in the unity editor I get data but once I try it on my phone it does not work. There are no errors or crashes, it just does not show data. I leave an example: using System.C...
asked by 03.10.2018 / 23:44
0
answers

Index Firebase data

I need help with a firebase rule to index some data. The problem is the following: I need to filter the products that correspond to a certain category: If you filter by "Category 4" you should show me product 1 and product 3 Any help...
asked by 24.09.2018 / 16:10
1
answer

Update value of a field with Firestore and Android Studio

I have a table called Score, which has two records: score1 and score2. In Android Studio I have a two-button activity, where the first button will save the value of score1 and the second button of score2. What I want to achieve is that aft...
asked by 24.09.2018 / 22:04
1
answer

Check the last three data stored in Firebase with Android

Good morning, I am making a query to the last three data saved to be compared si el ultimo es menor que el segundo y primer dato guardado entonces realizar accion. I have the data saved as follows the data in red are the doses that I...
asked by 03.10.2018 / 18:09
0
answers

Delete item from firebase [Ionic]

I can add items to firebase, but I can not delete it. If I delete an element, I delete them all. This is my code <ion-list> <ion-item *ngFor="let item of arrData; let i = index" (click)="btnAction(i)" > <h3><s...
asked by 03.10.2018 / 17:42
0
answers

Push notifications firebase does not work, sdk java firebase

When I run my code in the main class it works correctly, but in the backend this code does not work. There are no exceptions, it shows no error. I put impressions to see what happened, but it never shows the impression 3. java version: 1.8...
asked by 20.09.2018 / 17:27