Questions tagged [firebase]

Firebase is a serverless platform for unified development of applications for mobile devices and for the Web.

0
votes
0answers
14 views

Why is my onActivityResult() always returning false?

Im trying to set up google sign in for my app but it keeps failing, i click on a button, get a popup, select account and a Toast pops up telling me that sign in failed. Any ways i can fix this? The ...
0
votes
1answer
13 views

Firestore: How to update a document's field that is a document reference?

I'm using firestore with AngularFire 2 and one of my fields a reference to a different document. I'm able to use this field in my angular app, but: How do I update this field? I'm trying creating a ...
0
votes
1answer
12 views

ERROR: Failed to resolve: com.google.firebase:firebase-core:16.1.0

While trying to connect Google Firebase to my Android Studio project, I keep getting "ERROR: failed to resolve: com.google.firebase:firebase-core:16.1.0" whenever I try to sync my project. I've seen ...
0
votes
1answer
16 views

Accessing Value from Key via Change (onWrite)

I am trying to access the value of a key(node) from the firebase realtime database. I am using the onWrite trigger which passes the change paramters, which holds snapshot of the database before the ...
1
vote
1answer
13 views

Ionic firebase once snapshot get weird bugs

I'm trying to set something through firebase realtime database using set code but before that, I need to use once snapshot to get value and update it. When I have an array that contains strings ex.) ...
0
votes
0answers
19 views

Retrieving data for specific user using firebase

I'm making an attendance app and I'm trying to retrieve the data from the firebase database for each specific user. There are two users 16BCA1278 and 16BCA1282. These are the firebase rules, they ...
1
vote
1answer
45 views

Get the value of an array as an integer and show on buttons in realtime

I would like to get the number of values in myKeyArray to print as an integer so that whenever a child is added or removed in firebase it updates. Currently it prints the number of values in the array ...
0
votes
0answers
22 views

Is firebase lying about the downloaded data? Firebase real time database android

I am student in ingeneer at university and my project is to build an app. It's almost over but I have to optimize the cost of the data and I can tell you that my app will never be online with thoses ...
0
votes
0answers
10 views

How can i create manual keys for my firebase childs

i want to create a manual email key on each login to each child values entered to it. i stored the logged in email in a string but i want to create the key with that specific email in the database. ...
-2
votes
0answers
15 views

Can I change the backend of my app from cloudKit to for example Firebase later? How? [on hold]

I am currently developing a fairly complex app with a cloud based backend service which is the iCloud. I use the cloudKit framework just because I am currently developing for iOS, and it is completely ...
-1
votes
0answers
10 views

Not updated data in database

There are functions that should update the data in the database, they are updated but to the value null It is necessary to get rid of the value null which is written to the database so that my data ...
0
votes
0answers
9 views

Stripe Connect redirect uri for cloud firestore database trigger

I'm currently using Cloud Firestore as my backend for a mobile app. I've got basic payments working with Stripe with cloud functions programmed with node.js, however, when setting up for Stripe ...
-1
votes
0answers
10 views

Call Fragment Method from Firebase Messaging Service

I would like to call a method in a Fragment class from the Firebase Messaging Service. I now call it with new Fragment().doSomeThing(); However, I get this error: Attempt to invoke virtual method '...
-1
votes
0answers
14 views

Showing values in a Toast message from Firebase database

enter image description here I am getting values(Contents and title) from firebase database like in the image and want to show in a Toast message. I have a user id that is created by firebase inside ...
0
votes
0answers
14 views

How to get the result of one valueEventListener() and use it in another?

I have a valueEventListener() that is used to get the data from Firebase. Here is the first one. sectionReference.child(classID).addValueEventListener(new ValueEventListener() { @Override ...
-1
votes
1answer
25 views

Firestore usage [on hold]

Is there a solution to know the number of readings / writes / deletions made in Firestore? I'm search APIs or something similar that allows me to export this data to my custom dashboard without using ...
0
votes
0answers
9 views

firebase_ml_vision ^0.6.0 build failed

Error Message Execution failed for task ':app:transformClassesWithDexBuilderForDebug'. > com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderException:...
0
votes
2answers
21 views

Increment a value inside Firebase document using AngularFire2 @angular/fire V5

I have a document in Firebase with a value that I want to increment but I don't see anything in the documentation for Angularfire2 on how to do this. I tried using this answer Create or increment a ...
0
votes
0answers
12 views

How to assign Class to data retrieved from Firestore?

Here is the code, in which I retrieve data from firestore. private FirebaseFirestore db = FirebaseFirestore.getInstance(); private DocumentReference dataRef = db.collection("users").document(...
1
vote
1answer
30 views

response.send is not a function

I am writing a firebase function for the webhook fulfillment of dialogflow chatbot. It keeps generating error that response.send is not a function const functions = require('firebase-functions'); var ...
0
votes
1answer
22 views

Angular Firestore Collection Snapshot Changes

I am using FireStore, I simply need to display the collection list data onto the component and next to each item that is displayed be able to delete the item. I need to use SnapShotChanges() in order ...
-3
votes
1answer
17 views

cannot read property '0' of undefined 9

This the text from where im getting the error. The the code is located after function sendData(). Where it starts with the: var file = this.files[0]; I want to make where a button sends the files ...
0
votes
0answers
19 views

Firebase Redux update not triggering render

My react app isn't re-rendering when updating my data. I think its related to updating the state with an array, but I can't quite figure out exactly what is causing the issue. Here is my action ...
0
votes
0answers
15 views

Writing to Firebase database from fragment

I'm trying to write to Firebase database from a fragment, but I'm unable to do it. Code: public final class MainFragment extends Fragment { Context thiscontext; private Firebase fire; @Override ...
0
votes
0answers
10 views

How to skip initial fire of “child_added” listener in firebase-web?

I have a component in react, which needs to load initial data with some functions called inside, which dispatches data to redux from other parts of the database. By calling it once, I get my list, and ...
0
votes
2answers
17 views

Angular7 AuthGuard Firebase Claims

I am able to login using firebase, however in my app I have 3 levels of users. Let's call them admin, user, editor. I keep user's role in custom claims provided by Firebase. In AuthGuard, I pass data ...
0
votes
1answer
29 views

Service for sending SMS notifications or Push Notifications

I have an application developed in Angular 7 that is in the final stage of development. This application makes use of the Firebase services, one of them is the Cloud Firestore. I'm looking for a way ...
0
votes
0answers
7 views

Android Firebase database custom username is not working? [on hold]

enter image description herei try to log in using reference data from firebase databae.But i can,t find out the problem . the button is also not working
0
votes
2answers
38 views

How to receive 2 different values from one Subscribe?

Is there any option to get two values from one subscription? The first being all profile data and the second is just the favorite data filtering by name. I want to use fewest number of firebase ...
0
votes
0answers
13 views

Querying data solve nesting? [on hold]

Can querying firebase data solve the nesting issues or can they help nest data together? Or is nesting only the purpose for the sorting and arranging data from firebase?
0
votes
0answers
13 views

addListenerForSingleValueEvent return null value event I added the value before

as the title, the addListenerForSingleValueEvent still fire but its snapshot dose not contain anything. Event I add a new value on that node. Detail : I have 2 devices : A and B example. everything ...
1
vote
0answers
17 views

React-native android push notifications clear badge

I'm building an app, and I'm using push notifications with firebase. Everything is working fine, except one tiny thing that I don't get. When receiving a notification, badge is incremented. When I ...
0
votes
1answer
15 views

Does one document or one field is charged as one read in cloud firestore?

In Cloud Firestore, I have 1 collection, in that i have 100 documents and in each document i have 10 fields. How many reads it counts for pricing in cloud firestore? +Add collection(1) +Add ...
0
votes
0answers
9 views

FCM to topics with AJAX not works

I try to send a FCM from Javascript with AJAX to topics, this is my json object: let fcmJson = { "condition": "'Topic A' in topics || 'Topic B' in topics", "data": { "...
0
votes
0answers
25 views

toLocaleString not working on firebase cloudFunctions

My node 8 function, hosted at Firebase Cloud Functions isn't working as expected. I've a toLocaleString call passing all parameters to format in Brazilian currency format, but I getting the default EN ...
0
votes
1answer
15 views

Cloud Firestore query pricing

In Firestore documentation said: There are no additional costs for using cursors, page tokens, and limits. In fact, these features can help you save money by reading only the documents that you ...
0
votes
0answers
9 views

Laravel Voyager With Firebase Integration [on hold]

Can you please tell me if i can integrate Laravel Voyager Framework with Firebase real time database, if yes tell me how can i do this if no, can you please tell me if there is any other control ...
0
votes
1answer
17 views

Firebase dependencies create errors on runtime

Error: Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcar`. Continuously getting same issues whatever I am trying. Nothing work. ...
0
votes
0answers
16 views

android studio IllegalArgumentException at Preconditions.checkArgument [on hold]

Error:Note: C:...\Activity\MainActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Exception in thread "main" java.lang.IllegalArgumentException ...
0
votes
0answers
23 views

flutter firebase login not redirect after signInWithCredential

I'm using flutter and firebase auth with google sign in. specifically I'm referring to this Tutorial but, in that case no redirect after login success. in my case, i want to redirect after login ...
0
votes
1answer
18 views

Multiple Indexes for collection - Only one works

First off, I'm kind of new to Firebase Database and coming from a SQL background. I'm attempting to have a query that returns all notifications for a specified postID, regardless of which user the ...
-1
votes
0answers
10 views

How to get the “Active Notifications” from Status bar and update the UI

I am using Firebase Cloud Messaging to get notifications and i want to update the UI by checking the notifications sent to my package i.e when ever i open the application i want to check for active ...
1
vote
1answer
32 views

Is it efficient to dispatch data from just firebase listeners?

const listRef = firebase.database().ref(); const reducer = (state = {}, action) => { switch (action.type) { case: "GET_LIST" : { const { list } = action; return { list }; }; ...
1
vote
0answers
25 views

Send email via SendGrid & FireBase [duplicate]

i set my cloud functions to send an email to everyone who create a user in my DB, but even tho a lot of checking and changes things wouldn't work my function: exports.ConfirmationEmaill = functions....
-8
votes
0answers
27 views

how to get data to firebase storage in javascript [on hold]

I have a project . I use firebase storage .I develop website with javascript. I get only addresses the URL when extracting data from the storage section but I want example I get word file . I dont ...
-1
votes
2answers
24 views

Error to comparing contact number with firebase database phone number in android

My app is crush ERROR in userlist.add(mUser); in MainActivity: enter image description here E/AndroidRuntime: FATAL EXCEPTION: main java.lang.NullPointerException at com....
0
votes
1answer
29 views

firebase retrieve data labeling [on hold]

ref.on("value", function(snapshot) { snapshot.forEach(function(childSnapshot) { var childData = childSnapshot.val(); var id=childData.id; console.log(childData); ...
0
votes
1answer
23 views

Firestore - How to get the doc id from FirebaseFirestore.QuerySnapshot?

I'm querying a collection for a specific document and trying to get the document-ID from the result of my query that is from type FirebaseFirestore.QuerySnapshot. My actual query looks like this (I'...
0
votes
1answer
23 views

Firebase Cloud Function(Cron Jobs) in Android is it able?

I don't understand well the document of Cloud Function provided on the firebase website so I had been watching cloud function Cron Jobs from "Firecast" on YouTube channel "Firebase" (I don`t know why ...
0
votes
0answers
8 views

Searching for image Firebase using ML Kit

I have a set of a hundred or so images (eventually this will be a few thousand). From my app I want to be able to take a picture and upload it to Firebase and search wether the picture contains one of ...

http://mssss.yulina-kosm.ru