Questions tagged [firebase]

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

0
votes
0answers
3 views

firebase transactions you must return a promise

I am trying to figure out how to write transactions to a firebase database from an angular 6 / typescript application. One working example I am using as a guide is the following: const transactions =...
1
vote
0answers
5 views

Query documents with field in array on Cloud Firestore [duplicate]

I have a collection "MyCollection" on Cloud Firestore and I want to query all the documents where the field "MyField" (that is a string) is in the given array. Is there a way to do something like: ...
0
votes
0answers
9 views

Firebase (FCM) Response messes up my Response

I'm sending Web Push Notification via PHP cURL after my order successfully inserted into the database. After insertion, my return response is this: { "statusCode": 200, "status": true, "...
-3
votes
0answers
18 views

I want to develop a matrimony app in Android for an NGO so where should i store my data on Cloud? [on hold]

To store my data in the cloud I can't use firebase as I will have to pay for it after some time so which will be another alternative for storing data Cloud?
0
votes
2answers
28 views

How should i make use of ids in firebase database

Hi Fellow Firebase Devs! Earlier this year i got hired into a startup and we got going developing our app in xamarin and we decided to use firebase as our backend. A decision i in some ways regret as ...
0
votes
0answers
11 views

Reading .txt file in Firebase Storage into variable

I have a .txt file in the firebase storage which I am trying to read into my website. I have used var storage = firebase.storage(); var storageRef = storage.ref(); var fileRef = ...
0
votes
2answers
20 views

Failed to resolve Firebase auth 15.0.0

I am new to android development environment and I need to connect my app to firebase but I am getting this error Failed to resolve: firebase-auth-15.0.0 This error is shown in the statement: ...
-1
votes
0answers
24 views

how to find nearest locations from given locations list [on hold]

I want to make app that has some locations in a list and when user searched for some thing, application give back a list that sorted from nearest to most farther. for example an admin in a library ...
1
vote
1answer
23 views

Firebase database how to know where a user is to edit values

I have a structure where I need to login with an user below a certain parent and I need to know in which parent I'm in order to modify that parent and my user id, here is my database structure Now, ...
0
votes
1answer
14 views

Firebase google authentication

Code private String mEmail; private FirebaseUser current_user; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R....
-1
votes
1answer
10 views

Firebase query to give result on the basis of multiple conditions [duplicate]

I have a Firebase Realtime Database and I want to retrieve the data from one of my table on the basis of two conditions, I have used multiple "orderBy" in my query but I am getting the following error:...
1
vote
0answers
17 views

Android ListView not updated when the Firebase data is changed

I am currently developing an app that displays all orders data from firebase in a listView. I have a problem that when the Firebase data is changed listview will not be updated, when I delete a row in ...
0
votes
0answers
17 views

Why http request with Guzzle doesn't work?

I'm developing a website with Laravel 5.7 that has a registration form. When the form is submitted, its params are used to create another user via API. These API have a .cloudfunctions.net endpoint ...
0
votes
1answer
25 views

XCode 10 Crashlytics Installation

I am having difficulty understanding this step on installing firebase Crashyltics in my app: Xcode 10 only: Add your app's built Info.plist location to the Build Phase's Input Files field: $(...
0
votes
0answers
23 views

How do I make my user STUDENT retrieve and display classrooms he/she belong to? [duplicate]

I'm having a difficulty of retrieving and displaying the classes of a student user which he/she belong. In my web app, there are 2 types of user: Teacher and Student Teacher - can create and view ...
0
votes
1answer
29 views

swift firebase like button

In tableViewCell I have likeButton and unlikeButton. What I want is when I press the likeButton - save data from cell to firebase and when unlike - delete But I have 2 problems: 1-- when I click ...
1
vote
1answer
23 views

Google Cloud Functions: warning Avoid nesting promises promise/no-nesting +5k registers

I have the following function on my firebase app. But every time I deploy it i get this message: 142:12 warning Avoid nesting promises promise/no-nesting ✖ 1 problem (0 errors, 1 warning) ...
0
votes
0answers
14 views

I'm geting Firestore error after refreshing

I'm successfully uploading an image to firebase storage and firestore and when I try to delete it, it goes smooth but when I refresh the page and try deleting an image before uploading any I got an ...
3
votes
1answer
27 views

Notification not received in android API eval 26 [duplicate]

I try to receive notification in android Oreo. But App does not receive any notification. I also create notification Chanel but it's not work If I send a notification from fcm then app received. ...
1
vote
0answers
12 views

link user parameter “value” into event value in firebase event console

I'm generating an event in my mobile app using this method: var Param = {}; Param.VALUE = response[1]; firebase.analytics().logEvent(`Purchase_report`, Param); and I am able to receive ...
0
votes
1answer
20 views

Unable to use the logical OR operator in Firebase Firestore security rules - the condition always evaluates to `false`

I want to allow writes to /companies/{company} if the logged-in user is a manager OR the record doesn't exist. I have the following security rules: service cloud.firestore { match /databases/{...
1
vote
0answers
24 views

How to disable CAPTCHA for QA env in firebase auth (react native app)?

We are working on the test automation framework for react-native app. When we try to log in on the app on iOS build (manually or automatically) we get redirected to the captcha : How we can to ...
2
votes
0answers
12 views

Why Firebase global import is lighter than specific ones?

I am making an Ionic app. I use ionic-angular 3.9.2 and firebase 4.6.2 as dependencies. In multiple files, I am importing Firebase globally, this way: import * as firebase from 'firebase'; However, ...
0
votes
0answers
8 views

Error: cannot access zzbgl in android studio

following is my build gradle file for app. I am getting an error when building the project and the detailed error is: error: cannot access zzbgl class file for com.google.android.gms.internal.zzbgl ...
0
votes
0answers
16 views

Fcm notification icon not coming in samsung phones with android version 8.0 and above

//Here is my method for creating channel and creating notification as required for the Oreo devices. The notifcation works properly if the application is open and in foreground. Otherwise the default ...
0
votes
0answers
10 views

How to collect twitter access token and secret from a SPA made with VUE.JS?

I'm finding rather difficult to find documentation or examples to collect twitter user credentials (tokens) from a single page application made in vue. I'm bulding an app that needs to collect ...
3
votes
1answer
13 views

Get this error auth/operation-not-supported-in-this-environment using express nodejs

I'm working with Firebase in my project but getting this error auth/operation-not-supported-in-this-environment when login with google credentials. .hbs file code <span class="google-bg session-...
1
vote
0answers
15 views

In Firebase console what does time values signify?

I am checking my app's traces in Firebase console, and I am just wondering what these time values signify? Because as you can see in first Image Median is between 496ms-2.29s but if we will look at ...
0
votes
0answers
8 views

App crash on setAPNSToken method using FirebaseAnalytics

Hy, I was implementing firebase and noticed that in latest releases FirebaseAnalytics was not included, therefore I downgraded as suggested in other posts and had FirebaseAnalytics (5.2.0) installed....
0
votes
0answers
23 views

Firebase notifications are not recieved on some android mobiles (Eg:- ASUS) Why?

Firebase notifications are not received, when application id closed, in some android mobiles like ASUS. If application is running then receives notifications. WhatsApp receives notifications on both ...
-5
votes
0answers
36 views

How do I send user to user notifications with Firebase programmatically without using JS?

I have one chat app with friends request functionality using Firebase. Now I want to send notifications when user A send friend request to user B. How can I do that using Firebase? Please note ...
1
vote
1answer
19 views

Firebase hierarchy depth access [duplicate]

I have the following data structure: items: id1 - dynamically set, unknown id2 - dynamically set, known item: data I want to get all data inside id2. Using firebase.database().ref('...
0
votes
0answers
28 views

Android Firebase Database Obfuscated

I recently updated my gradle files and I keep getting this error. Initially, everything was working perfectly but after the update, I can't write or read the Firebase Database. Have tried reverting ...
1
vote
1answer
53 views

RecyclerView Bugs?

I have a Note-App. In the Main Activity the Notes are going to be listed with a RecyclerView. To apply changes in the database I use FirestoreRecyclerOptions. But I have a big problem. First, ...
0
votes
0answers
11 views

Can't get Twitter to work with firebaseUI web

I'm using FirebaseUI for my website authentication. I got it to work easily enough with Google and Facebook, but for Twitter I get the following error message : "Unable to determine the authorization ...
-1
votes
1answer
45 views

How to use getEmail

Code firebaseRecyclerAdapter = new FirebaseRecyclerAdapter<AllUsersHelper, UsersViewHolder>(options) { @Override protected void onBindViewHolder(@NonNull ...
0
votes
2answers
18 views

How to access child node in firebase with android studio [duplicate]

I am building an app that will be able to let you answer assessment questions. Now I have a problem on how to save the scores to the current user. I cannot access the child node. This is the real time ...
0
votes
1answer
14 views

Koa.js always get Not Found 404

I develop in Koa and I use Firebase to messaging, because of a real-time database. When I want to get messages from firebase I get Not found, but in console.log() it shows me. This is my function to ...
0
votes
0answers
21 views

Firebase Firestore Console very slow

I'm using the Firebase Firestore database for a new project. The project involves quite a lot (but not insane amounts) of data, e.g. a few arrays with a 1,000 ish elements. I can upload and download ...
0
votes
1answer
17 views

Firebase Data Read Problem When Reload Page - Vue.js

I am trying to create profile page for users. I created login/register pages and I am using firebase auth. When I tried to fetch users data, everything works fine but if the profile page is reloaded,...
2
votes
0answers
33 views

Firebase Table Not Created

I want to create a firebase table Along with name Users along with the attributes Name, Email, Password and by default Id and also register with firebase authentication. But when I run the application ...
0
votes
0answers
13 views

Angular-Project: Querying a single document of collection in Firestore

I tried two solutions: Firestore : Retrieve a single document FireStore Querying for a single document But I still can not access the single fields or see the data of a document when I log the ...
0
votes
0answers
19 views

How to write an async redux test with firebase login?

I have no idea how to write a test for this type of problem auth.js export const onLogin = ({email, password}) => async dispatch => { try { const user = await firebase.auth()....
-2
votes
0answers
12 views

Firebase connection

I can't connect to fire base because of this error.please help
0
votes
0answers
18 views

Time to live in FCM notification for IOS

I am trying to set time-to-live for IOS notification using FCM from server. { "data":{ "message":"Experience the blissful Kailash Mansarovar the serenity of its beautiful places..Book Holiday ...
1
vote
0answers
28 views

I cannot download dSYM files from App Store Connect and Xcode

I need to get dSYM to use Firebase Crashlytics. When I tried to get it from Xcode, I got this message below Xcode Message Then, I tried to get from App Store Connect. There was no button to download ...
0
votes
0answers
11 views

Efficiently Chaining getDocument using Firestore (Swift)

The question is, how could I fix the code below so that it is properly getting all of the contact info? It is currently skipping over documents with the setup below. DB Layout: user-contacts ...
0
votes
0answers
34 views

firebase retrieving value not correct

I am having a problem retrieving a value in firebase. I added a textview to see the value inside a datasnapshot and Im seeing it correctly but when Im adding it in my listview it looks like this. Btw, ...
0
votes
0answers
21 views

Error in Firebase Authentication. (Android app)

I am creating User signing in and I'm not able to figure out where it is going wrong. Please do help me out. Also, Already I used the "Whether the user is signed in or not" part. It is working fine. ...
1
vote
1answer
13 views

Firebase: how to connect client SDK to cloud functions served locally?

I have a react-native mobile app that uses the firebase web SDK to init firebase: import firebase from 'firebase'; firebase.initializeApp({ apiKey: ..., authDomain: ..., projectId: ..., ...