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.

0
votes
0answers
6 views

Data could not upload to firestore and “Couldn't load memtrack module” on Logcat

I am trying to upload some data using android studio to firestore but the data could not update to firestore orderAddBtn.setOnClickListener(new View.OnClickListener() { @Override ...
0
votes
0answers
3 views

MethodChannel#plugins.flutter.io/firebase_auth(31559): Failed to handle method call

this is a login app i added the user in the firebase allsetup but whenever i tried to do login the app this error occurred i added these dependencies my pubspec.yaml file dependencies: flutter: ...
-1
votes
0answers
13 views

Auto redirect to MainActivity when Save/Update data to FirebaseDatabase, Why?

when i am save/update data to firebaseDatabase on click button after saving data the activity auto redirect to MainActivity. i did not use any intent for redirect activity but it done automatically i ...
0
votes
0answers
10 views

Differentiate crash reporting between debug and production builds

I'm setting up Firebase Crashlytics for my Android app, and I would like the crash reports for the debug version to be separate from all other versions. There are several copies of the auto-generated ...
0
votes
0answers
14 views

cannot continue or break a loop because of JavaScript asynchronous problems [duplicate]

My aim is that I just want to know if some data exist in an array in the firebase database, and based on that the loop should continue execution or get repeated again. I tried to use callback ...
1
vote
1answer
13 views

How can I resolve OnSucceslistener on a TabLayout Fragment

This is the Database[][1] I am trying to populate the layout I made on a tab layout Fragment with data from a Cloud Firestore database and with the following code the error says that: success ...
0
votes
0answers
11 views

Firestore, fetch only those documents from a collection which are not present in client cache

I am implementing a one-to-one chat app using firestore in which there is a collection named chat such that each document of a collection is a different thread. When the user opens the app, the ...
0
votes
0answers
14 views

How to display usernames of user's from firebase realtimedatabase

I cant figure out why my code wont display my users usernames in A UIlabel? My code is : @IBOutlet weak var userNameOut: UILabel! var loggedInUser = AnyObject?.self var databaseRef = ...
0
votes
0answers
8 views

I have problem with filtering data in React-Table, after submit filter, one collumn with separate component won't update

I have problem with filtering data in React-Table, after submit filter, one column with separate component won't update. On filter submit, last column in react-table always render as is without ...
0
votes
0answers
7 views

How to integrate cordova-plugin-firebase plugin with ionic appIonic -> Test Crash

I add the Cordova Plugin. It works but we can i Test an AppCrash. i add this.firebase.logError('test'); In the Analytics i see only an Event. Thx
0
votes
0answers
6 views

How to fix Dynamic Link social metadata does not work on LINE?

I'm using Firebase Dynamic Links, and when I share a dynamic link on messenger or Facebook, the social metadata works fine. But it does not work on LINE, it displays link URI only. How can I show ...
0
votes
2answers
38 views

Promises not resolving in the order they were called

I am integrating a website with firebase. I am trying to get user IDs from my users collection in the database and then pass each of the user IDs to another function that gets the experience data ...
0
votes
1answer
19 views

How to send a Notification with FCM on android?

How to send a Notification with FCM on android? After update my firebase in build.gradle the notification is not working. I read this: Firebase I have seen the instructions on google but can not ...
0
votes
1answer
26 views

Retrieving specific data from Firebase realtime database in swift 5.0

I'm not good in firebase, but I'm making one project regrading chat app. i have created one not node GroupChat inside that i create group with including members. now i want to check that if userid is ...
-2
votes
1answer
28 views

How to start activity in adapter

What I am trying to do is start an activity in my adapter but it seems that I'm getting an error on my other adapter. java.lang.ClassCastException: com.lim.fiture.fiture.models.ProgramTracker cannot ...
-1
votes
0answers
6 views

Watch mode for cloud functions logs

My task is somehow watch for new updates in logs locally. I've looked for something like watch mode for cloud function logs: gcloud functions logs read MyFunctionNmae --watch. Or firebase functions:...
0
votes
1answer
15 views

How to setup test data when testing Firestore Rules with Emulator?

I am working on tests for Cloud Firestore Rules, using mocha and Firestore Emulator, and the question is how to initialize some test data before running tests? To test my rules, I first need to ...
1
vote
0answers
19 views

Is it possible to define an abstract named constructor in Dart?

I'm trying to create an abstract class Firestorable which will ensure that subclasses override a named constructor fromMap(Map<String, dynamic> map) The code looks like this ... abstract class ...
0
votes
0answers
16 views

Error: Program type already present: com.google.android.gms.common.api.internal.zzb

My Unity project had already imported firebase SDK, and after I imported Admob SDK and click Android Resolver at Unity then I can't build apk successfully. the error is "Program type already present:...
0
votes
1answer
11 views

What is the .get() method equivalent to query firebase in typescript using firebase functions, when using a realtime database?

I am looking to fetch from firebase using typescript in cloud functions. I have looked here and found the bellow code, but am unsure if this is how you fetch or not (and am currently not able to test ...
0
votes
1answer
20 views

undefined is not iterable (cannot read property Symbol(Symbol.iterator))

I'm trying to loop through a fileList in order to perform a delete query. First i fetched data from table "files" in database where attribute "postnumber"=user input. Then it is saved into the "...
0
votes
0answers
20 views

SWIFT Firebase debugging

I have a login screen WelcomeController in which the user enters Email and Password. I have decided to use Firebase Real Data base, don't seems to be a great decision XD. Two UITextFields, one for the ...
0
votes
0answers
14 views

Speeding up Python Firebase Cloud Function

I have setup a HTTP triggered Firebase / Google Cloud Function written in Python. However, the function takes quite a long time to run, usually around 8-9 seconds. I don't really think this is cold ...
0
votes
1answer
20 views

Firebase Google Cloud Function call external endpoint

I'm trying to have a Google Cloud Function that invokes an external API. I'm on the Blaze plan, so I should be able to make external invocations. I have an Express app and these test routes: app.get('...
0
votes
0answers
17 views

Spring Boot - Firebase Admin SDK - Notification

I was trying to initialize the Admin SDK, but facing 400 bad request in service account initialization. It was working perfectly in my development windows environment, but when I deploy the same in ...
0
votes
0answers
29 views

i functions: Your functions could not be parsed due to an issue with your node_modules (see above)

In relation to this question I am trying to firebase emulators:start but I get the bellow output. Which when I type and press enter does nothing now. i Starting emulators: ["functions"] ⚠ Your ...
0
votes
0answers
32 views

How can I quickly test firebase functions

I am working with Typescript on firebase functions. As I have been developing I have found it very difficult to test (or experiment) with the code. I am using the Lint plugin so at leased I see the ...
1
vote
1answer
17 views

Can't have persistent Google authentication (Firebase)

I'm trying to have a persistent Google authentication with Firebase. I can log in successfully but the session does not persist if I reload the page. Here's my code: firebase.auth().setPersistence(...
0
votes
0answers
15 views

React Firebase REST API: Could not parse auth token

I am trying to add a post to firebase, using its REST API. As described in docs, I pass form data and idToken. https://firebase.google.com/docs/database/rest/auth#authenticate_with_an_id_token Here'...
0
votes
0answers
14 views

Firebase does not close Microsoft sign page when finished in iOS

When using Microsoft as a provider in Firebase Auth, after signing in UIApplication:open:url is called with the redirection. But there is nothing in the documentation (https://firebase.google.com/docs/...
0
votes
0answers
10 views

FirebaseInstanceID.h' file not found

I went to run my IOS app, which i made in xcode, and the build failed with error "'FirebaseInstanceID/FirebaseInstanceID.h' file not found". I cleaned my project, exited out, and it worked for a ...
1
vote
1answer
15 views

How to get all files inside a Firebase Storage directory using Flutter

I have an App that display nightclub description and image. Each club have about 4 related image. In Firebase Storage i have created directory for each club and then stored their image inside. so ...
0
votes
0answers
20 views

com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.studentcornerapp.studentcorner.Posts.Posts

I want to show all users posts using firebase recycler adapter.But I got Firebase Database Exception error and my app crashed. I don't know what am i doing wrong? I was initially doing everything ...
0
votes
1answer
11 views

Retrieving images from firebase storage

I have uploaded some photos to firebase storage, and I need to connect each of those images with a document in my Cloud Firestore and then show them in my recyclerView. Do i get the url of each image, ...
1
vote
0answers
23 views

applicationWillTerminate doesn't executeFirebase code

This is the code I have in my AppDelegate.swift func applicationWillTerminate(_ application: UIApplication) { FirebaseEventHandler.Instance.endSessionDataSave() print("test3") } ...
0
votes
0answers
10 views

Firebase trying to return onAuthStateChanged

Trying to implement firebase authentication, the login, sign in, logout are working so trying to return if user is logged in or not. The userID from my store is returning as undefined/not updating ...
1
vote
1answer
12 views

Firebase hosted website won't load (but loads locally)

I've built a react app beginning with create-react-app that appears to be working fine in local development. I've uploaded it to firebase hosting using firebase deploy, and the hosted version works ...
-3
votes
0answers
27 views

How do I pull data by an x amount instead of the whole list, and then later continue refreshing more x amount?

Lets say this is my example data: { "b-0001":{ "title":"Batman", "time":1558556303855 }, "a-0001":{ "title":"Hello", "time":1558556340110 }, "c-0001":{ "title":"haha1", ...
0
votes
2answers
18 views

Is there a way for me to get all the string and convert it into a double and add all of them?

Error I am still new atFirebase and I wanted to ask in this image Firebase in the blue line. How do I turn them into a double and finally add all the blue line. Basically, I wanted to add all the ...
0
votes
0answers
13 views

Why am I getting a document reference error about segments in Swift?

I am displaying documents from my Firebase Firestore database into a UITableView. I have created an array called parties that stores my custom data model Party. The data is displaying properly, ...
0
votes
0answers
11 views

Firebase -can Database.database().reference(withPath: “.info/connected”) substitute for Ashley Mills Reachability

I was in a situation where the router with the wifi was plugged in but the router wasn't connected to the internet (no wifi). Whatever reachability class I was using at the time thought it was ...
0
votes
1answer
18 views

Fetch data from firebase and add to card view

I want to fetch the data from firebase and add it to cardView. When I fetched title and description, title is displayed but my description isnt displayed. This is my model class: public class News ...
0
votes
2answers
15 views

How can I tell my React app which component I want to update in Firestore?

I am working on a React app that renders components from an array of objects stored in a Firestore document. It is essentially a social media app, and I am trying to develop the 'Like' button to ...
0
votes
0answers
14 views

firebase-functions: Unknown error status: TypeError: db.collectionGroup is not a function

I added a collectionGroup query to my "firebase-functions" code. But now it gives me, this error: "Unknown error status: TypeError: db.collectionGroup is not a function". What did I wrong? I updated ...
0
votes
0answers
14 views

How to retrieve data from firebase in descending order with “timestamp”? [duplicate]

I'm trying to get data in descending order from firebase Database Structure 0G6K7tgHDVXTwPYV5NwhANnWChF2 feelings -LfP-g3QnO7WmZ3xE8df currentFeeling: "Angry" reason: "My phone broke" ...
0
votes
0answers
14 views

How to upgrade a firebase cloud function code to version 1.0 or higher

I was trying to Push Notification on real time database change using firebase cloud functions , I searched the web to learn how to do it then I found a code on how to do it , I tried to upload the ...
0
votes
0answers
9 views

FDL don't work on mobile web browser rendering

When opening FDL from mobile browser the dynamic link returns "intent://" instead of https so the browser can't open it. I'm creating FDL through REST using python I have tried on Android (Chrome) ...
0
votes
0answers
22 views

AngularFireAuth with SAMLAuthProvider does not accept provider parameter

I'm trying to use the firebase auth module with a Custom SAML Identity Provider, I was able to use it with the plain firebase SDK but I can not make it work with angular/fire/auth import { Component, ...
-1
votes
0answers
16 views

How to retrieve an url as a string from firebase database

I am trying to retrieve a url that I have saved in the firebase database as string in order to retrieve it as an url, but I cannot figure out how to do it. This is my React component, and the url in ...
0
votes
0answers
19 views

Fetching Firebase Realtime Database of array

I want to fetch multiple specified Childs. Is it possible to do so in one fetch? I have tried to do this with orderByChild and equalTo My Data Structure: "lections" : [ { "id" : 1, "title" ...

http://mssss.yulina-kosm.ru