Questions tagged as 'firebase'

1
answer

How can I send push notifications from python?

I'm trying to make a program that communicates with Firebase and this sends push notifications to a single device on Android, I've been able to send notifications from Firebase but not from a Python program. push_service = FCMNotification(api_...
asked by 06.03.2018 / 16:26
2
answers

Check if there is a value in the database

I try to check a value that I enter with a EditText in the Firebase database before writing the value. For this I have the following: EditText Username; Button buttonUser; public FirebaseDatabase database; boolean flag=false; final i...
asked by 03.07.2017 / 13:52
1
answer

Receive all the items stored in my database (Firebase)

This is how I generate item's with a different name automatically in my database of Firebase and send it to it. public class MainActivity extends AppCompatActivity { private String FIREBASE_URL = "miurl"; // genero un item d...
asked by 22.05.2017 / 16:41
1
answer

Integrate Firebase into ionic v1

Hi, I have problems integrating Firebase in my ionic v1 app. The way I am integrating it is as follows: I create a config.js: angular.module('starter.configs', []) .constant("CONFIG", { "FIREBASE_API": 'apiiiii******+', "FIREBASE_AU...
asked by 23.02.2017 / 16:31
5
answers

Firebase cloud messaging sound when receiving notification with closed app

Good morning, I'm having this little problem that I can not find a solution for. I set up my app to receive push notifications with FCM, the issue is that when I have the app closed the notification but does not play sound and that is what I wou...
asked by 20.01.2017 / 14:45
2
answers

Check Firebase. Android

I have a question about Firebase with Android I make the query by obtaining a string with the following result: String S= "{Centro 1={Wifi=458pohh875, Freedns=centrouno.mooo.com, Webkey=h64792390hyd}, Centro 2={Wifi=2910393, Freedns=centrodos....
asked by 07.07.2016 / 16:15
0
answers

{[Error: SIGNATURE_INVALID] code: 'auth / invalid-custom-token', message: 'SIGNATURE_INVALID'}

I am trying to log in to Firebase with a custom token. I followed all the steps and the decoded token would be like this, following all Google requirements: { "alg": "RS256", "typ": "JWT" } { "id": 397, "uid": "397", "email": "my@ex...
asked by 17.12.2018 / 12:18
1
answer

Why do I only get null from getPhotoUrl from a FirebaseUser object?

This is the code where I'm using the object of type FirebaseUser FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser(); Toast.makeText(Login.this,"Bienvenido: "+user.getPhotoUrl().toString(),Toast.LENGTH_LONG).show(); Intent intent =...
asked by 17.12.2018 / 10:40
0
answers

Firebase does not recognize values

I've been with this problem for days, I hope you can help me:) I have a code in Android Studio where I connect to Firebase, in which I upload values, modify and bring them. I have tried my application and it works well for some values, then f...
asked by 15.12.2018 / 03:43
0
answers

Firebase - Android. Subtract stock from a shopping cart

I'm developing a product store with shopping cart and blah blah, typical. However, I have a very strange drama hahaha. The drama has to do with the fact that, when buying a certain amount of products, it is obvious that the quantity purchased is...
asked by 08.12.2018 / 18:42