Newest 'firebase' Questions - Stack Overflow

Questions tagged [firebase]

Firebase is a serverless platform for unified development of applications for mobile devices and for the Web. It uses the NO-SQL structure as opposed to RDBMS.

1
vote
0answers
9 views

Verify every email address (Firebase)

i'm working on sign up of my project and for authentication i'm using fire base. Now i want that my code only verify or authenticate only those email addresses which are already created by gmail or ...
-2
votes
0answers
6 views

How to upload Image on firebase firestore with ionic4 camera

I'm trying to upload an image on firebase firestore. Do you have a solution please provide me. in @ionic4
0
votes
0answers
9 views

Firestore rules do not permit claims for signInWithCustomToken user using custom JWT

I'm having a structured set of Firestore rules that everything works fine except for custom user claims inside a custom JWT. I'm using Laravel framework and kreait/firebase-php with createCustomToken ...
0
votes
0answers
7 views

Cloud function for notifications is not working anymore

For a mobile application that I create and is using firebase a friend create for me a cloud function that if someone posting something is sending a notification to users. I show this days that the ...
1
vote
0answers
16 views

Firewall configuration for Firebase Authentification (Android)

We have built an Android app which uses Firebase for user authentication. Our (large enterprise) client is planning to deploy it behind their firewall. During initial testing, the authentication stage ...
0
votes
0answers
7 views

I am not able to move the arrow keys or even select the default project while installing the firebase in mac

I was installing firebase for Mac after firebase init command selected firebase and cli features like Databas,Hosting After pressing enter the terminal asked for project setup but here I am not able ...
1
vote
1answer
14 views

How to get the updated Document reference after batch write in Firestore?

I have a document which I updated using batch update, how to get the document reference or it's data after commited. DocumentReference d = db.collection("posts").document(p.getUserId()).collection("...
0
votes
1answer
17 views

How to disable Cloud Firestore?

I'm using the Realtime database from "Firebase" and by accident I clicked on Cloud Firestore. Since then whenever I want to access my Realtime database it defaults to Cloud Firestore and I have to ...
0
votes
1answer
45 views

Make CanActivate wait for Subject to compute

I am trying to implement an authentication guard in my Angular + Firebase application. I am using a combination of Firebase Authentication (FA) and Firebase Cloud Firestore (FCF) to save users. ...
0
votes
0answers
10 views

Exclude dynamically created arrays and maps from Firestore indexing

I have a users collection which contains documents in this format: submittedAnswers: Map<String (QuestionId), Array<String (answer)>>, subscribedChannels: Map<String (ChannelId), Map&...
0
votes
0answers
17 views

Socket is Closed while accessing cloud vision api using firebase-mlkit

I am running a subset of the example given here and Firebase OCR Docs. I am getting socket is closed while running Cloud Text Recognition using Firebase ML Kit. Running this on a device with Android ...
0
votes
0answers
14 views

Firestore error when adding a value to a collection with API 16 and 17

I am trying to add/get a value to a collection in firebase. It is working fine with a mobile with Android 6.0.0 and another with Android 8.1.0 but when I am trying to do de same with an Android 4.2.0 ...
0
votes
0answers
11 views

Firebase function running previously deployed code

I have a cloud function PUB/SUb trigger that runs the code that looks like the code below const calculateScore= function() { //// Some code for score calculation } exports.checkMatches = functions....
0
votes
0answers
23 views

My code is not uploading url of some big pictures in firebase real time database. Can anyone help me to solve this problem?

I am trying to upload multiple images in firebase storage, then I stored the download URLs of images into firebase realtime database. I face the problem when image size is big something around 15Mb. ...
0
votes
0answers
8 views

How to send to groups of devices on the fly

Our Firebase server currently uses a one device per topic. However as users of the App are increasing the overhead of sending many topic sends is starting to be significant. What are our options for ...
0
votes
0answers
18 views

Firebase google sign in pop up window flashes and never signing in using Vuejs?

I have used google sign in popup method in vuejs. In live google sign in pop up window flashes and never signed in. But everything works fine in local. Here is firebase google sign in & sign up ...
0
votes
0answers
11 views

How to fix “storage: quota exceeded error while uploading rules” [duplicate]

I am getting an error when deploying storage rules using the deploy command in CI $ firebase deploy --only storage Output === Deploying to 'environment-name'... i deploying storage i storage: ...
1
vote
2answers
47 views

forEach loop for getting data firebase

I have a code: const { uid } = firebaseConfig.auth().currentUser; const ref = db.collection('categories').doc(uid); ref.onSnapshot( snapshot => { snapshot.forEach(item => console.log(...
0
votes
0answers
11 views

Firestore timestamp date range query with order by generate an error

I wrote a query to filter some data based on the date range and want to order the result by some field (Int). The code I wrote generate "FIRInvalidArgumentException" exception. If I removed the "...
-2
votes
0answers
32 views

My app stop write into firebase database after writing few hundreds of nodes

I don't know what can I do. My app is writing good into firebase but some times my app can't write into firebase database TimeZone tz = TimeZone.getDefault(); Calendar calender = ...
0
votes
2answers
20 views

What exactly does Firestore synchronization do?

https://firebase.google.com/docs/firestore says: Like Realtime Database, Cloud Firestore uses data synchronization to update data on any connected device. I'm trying to figure out what this "data ...
0
votes
0answers
13 views

Perform word count of records in Firebase realtime database

I have an React js application that allows users to submit questions on certain topics to be answered by a expert, and view questions asked by other users. These are stored in a Firebase realtime ...
0
votes
1answer
28 views

How to sort datas from firestore to a map by date in flutter

I am trying to sort a list of events in my firestore into a map. like this Map<DateTime, List> _events; _events = { DateTime.parse('2019-06-30'): ['Event 1', 'Event 2'], DateTime.parse('2019-06-...
1
vote
1answer
16 views

Does Cloud Firestore saves strings with newline \n characters (multiline)?

Apparently Cloud Firestore console does not display newline characters inside strings. Is there a way to inspect them? This string saved is actually: QUESTION Can I be sure that the newlines are ...
1
vote
1answer
16 views

Vuex actions not working properly. Shows an error “signInWithEmailAndPassword failed: First argument ”email“ must be a valid string”

Im new in Vuejs state management. I tried to make a login system with Firebase using Vuex. But getting this error. signInWithEmailAndPassword failed: First argument "email" must be a valid string ...
0
votes
0answers
32 views

What makes change view in my uploadImage()?

If I change a new image in my EditActivity, the changed image will be reflected, but it will be taken to the start screen of the app before pressing the save button. I do not see any special error ...
-1
votes
0answers
17 views

How to make scalable chat app using firebase

I have a chat support portal where agents chat with users. The problem is with admin account. An admin should be able to see all chats and at any point of time I have more that 2K chats. because of ...
0
votes
0answers
21 views

Phone Number with Password Authentication using Firebase

In my current project, I'm registering a user with email ID and then in profile section when the user updates a phone number, I authenticate that phone number & using PhoneAuthCredetials I'm ...
0
votes
1answer
21 views

Dagger warning in Android Studio with Proguard even though Dagger is not directly used

My project is no longer compiling with Proguard optimisations. As you will see below it mentions dagger but I have not been using anything related to that directly. I recently updated many ...
0
votes
1answer
50 views

Android Firebase -Cards not displaying in RecyclerView and NullPointerException

I am trying to build an app where users can post something with image and description which is included individually in CardView in RecyclerView. So I have have got two problems Cards aren't showing ...
1
vote
2answers
18 views

Possible to Host Firestore Onsite?

I'm using firestore for a project in a developing country with intermittent internet access. The internet may go down for up to a day. The client has other systems that use an onsite instance (ie a ...
0
votes
0answers
15 views

Firebase phone authenticatin with django rest framework

I am developing APIs for an app where it is required to do firebase phone authentication from server side. I am using Djanngo Rest Framework for APIs I did some research for this and only found for ...
0
votes
0answers
9 views

Show displayName in Angular 8 from Firebase

I am having a problem displaying the "displayName" property from my component.ts file (for testing purposes in console.log), yet it works fine from the template. component.ts: constructor( ...
0
votes
1answer
21 views

Firebase Firestore - How to prevent concurrent writes?

I'm currently working on a question and answer app for which I am using firestore. Current Scenario - One person will ask a question. That question is matched with multiple people. However, only one ...
0
votes
1answer
28 views

Is firebase JavaScript SDK secure over network?

Setting up Firebase Web JavaScript project. Firebase Authentication allows to authenticate users. But are Firebase SDK methods secure over various networks/routers ? I am new to Firebase. I am trying ...
0
votes
1answer
12 views

What is the correct way of terminating firebase function with error when using async/await

I have a function like below export const detectClient = functions.https.onRequest(async (request, response) => { try { const data = await foo(); return response.status(200).send(...
0
votes
1answer
23 views

I can't use javascript imports with in my react-typescript project

I am trying to add a google login feature with firebase. I am using react hooks and typescript. I cant seem to use the StyledFirebaseAuth module. when i try to render it, it gives this error JSX ...
0
votes
1answer
13 views

Get Current Firestore API Calls

Is there a way to fetch (via iOS) the current number of Firestore API requests an app has used for the day / week / billing cycle? I'm trying to see if I can fetch this value to display it to the ...
0
votes
1answer
9 views

How can I continuously return Firebase docChanges realtime updates result from a function?

I feel like I'm missing something basic but I have gone through the Firebase documentation and have looked through every relevant SO post I could find. I have the following function: const ...
0
votes
0answers
17 views

Does firebase-admin Support Android Notification Actions?

I want to use the firebase admin SDK in my Firebase Functions to send an android notification with an inline reply action. Similar functionality is described in this plugin which is built on FCM. I ...
0
votes
0answers
29 views

Stripe : Error: Received unknown parameter: bank_account[bank_name]

I have been trying to add a bank_name to my Stripe Connect user's external account, but I keep getting an error as if I am misreading the documentation on the function. Error: Received unknown ...
0
votes
0answers
29 views

Why is data fetched from firebase duplicated in tableView when doing pagination?

I have the bellow function which I wrote to paginate suggested users in a search page. The issue is that it is duplicating users. I dont know why and have not been able to find why. But I am looking ...
0
votes
0answers
21 views

Get data from a Firebase Realtime Database child

This my project I have 2 RecyclewView, the first selects the user I want to manipulate, which is working perfectly. When selecting it I store your id and transfer it to a next screen that should show ...
0
votes
1answer
16 views

How can I solve this issue with FirebaseAuth? [duplicate]

i want to register a new user using firebaseAuth but i keep getting error i have debugged using invalidate and restart and rebuilt the project, and even clean project yet it won't run successfully ...
0
votes
0answers
11 views

Firebase auth/network-request-failed error in React Native app

I have a React Native application using the authentication service of Firebase. In using the below code, to sign up a user, I get the Firebase error of: auth/network-request-failed: A network error ...
0
votes
0answers
12 views

Swift Firebase -How to monitor node changes on multiple users and their posts

In my app users can sell items. The buyer queries their area (eg 1 mile radius) and gets all the sellers within that area and all the posts/items that the sellers have for sale appears. Once the ...
0
votes
0answers
13 views

How to confirm a received code using firebase.auth().verifyPhoneNumber(phone) function?

I was in seeking a way to re-send sms code, now I find a better way to send sms code at every time with firebase.auth().verifyPhoneNumber(phone) function instead of using firebase.auth()....
0
votes
0answers
23 views

Angular - Firebase Login won't sign in

I'm trying to implement a email login with firebase, but somehow it won't work. Inside of my AuthService I have the following code: export class AuthService { constructor(public afAuth: ...
0
votes
0answers
13 views

Error in Cloud Function in firebase The argument 'id' must be a non-empty string

I am deploy a API GRAPHQL When execute firebase serve or firebase deploy i give this error TypeError [ERR_INVALID_ARG_VALUE]: The argument 'id' must be a non-empty string. Received '' I using this ...
1
vote
1answer
39 views

Multiple date entries

Here is some images for the intents and entites I am collecting dates from users to se for creating google calendar events but as soon as I add the code for the second date even if it is not in use ...