Posts by Anderson Soares • 74 points
13 posts
-
0
votes1
answer185
viewsA: Sum fields of a Firebase Bank
To add up there are two ways one going on all the items and add up db.collection("Dados") .get() .addOnCompleteListener(new OnCompleteListener<QuerySnapshot>() { @Override public void…
-
-1
votes1
answer29
viewsA: Problem trying to recycle multiple fragments ( Youtubeplayerfragment )
Does not work with the Google component in Recycleview. Use this component here to include in your build.grandle dependencies { implementation…
-
0
votes2
answers207
viewsA: How do I make Firebase Cloud Messaging send a message to a specific user?
First check if the token is saving on your server, Test in Postman with the token you pick up on Android and see if Success, why if you did not put google-services.json correctly does not generate…
-
1
votes1
answer52
viewsA: Remove App from Apple Store
You can upload a new version and update the name if you want. 1- To remove access https://appstoreconnect.apple.com/ log in with an account that has the app you want to remove. 2 - Click "My apps"…
-
2
votes1
answer117
viewsA: How to get user order data in Firebase database?
I would make the base structure this way To filter the orders by the company side val pedidoPesquisa = mFirebaseDatabaseReference.child("pedidos") .orderByChild("idempresa") .equalTo(1);//seu id da…
-
0
votes1
answer41
viewsA: I can’t return the url of an android image
Puts the save inside the TASK to get the URL var uploadTesk: UploadTask = imageRef.putBytes(dadosImage!!); uploadTesk.addOnFailureListener(object: OnFailureListener{ override fun onFailure(p0:…
-
0
votes1
answer104
viewsA: Problem with listview inside a Fragment
> I would do differently put a popup in the list click to so make the call listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void…
-
0
votes1
answer24
viewsA: How to reference userid and issue a notification in firebase
I would change these lines here, take a look at the log the messages Return admin.database() . ref(/fcmTokens/${userId}) .Once('value') . then(snapshot => { console.log("token", snapshot.val() );…
-
0
votes1
answer81
viewsA: Firebase IOS token does not work... returns null value
Hello apparently the code is correct, there are two things that may be problematic the certificates . P12 try generating and climbing again in the firebase project or see if your…
-
0
votes2
answers880
viewsA: Update only 1 item within firebase’s
You can update only the password attribute Configuracaofirebase.getFirebase(). Child("users"). Child(identifierUsuarioLog). Child("password"). setValue("your password")
-
0
votes1
answer86
viewsA: How do I view a Firebase database drive?
Note that the tree has an "email" node between "dHJldml6YW5AZ21haWwuY29t" and "122018" When saving yourself you can take this node when seeking to include as in the example below startRef =…
-
-1
votes1
answer2048
viewsA: Generate sequential key with firebase
Use the method push() he makes in sequence his data database.child("dados").push().setValue(objeto);
-
0
votes2
answers201
viewsA: Firebase does not work with multiple apps
Go to the firebase panel -> Authentication ->Login methods -> Multiple accounts per email address is to enable the option so the same email can log in several times. Follow in the user area…