firebase

I want to get serving url for my images on firebase storage

£可爱£侵袭症+ 提交于 2021-02-08 17:23:40
问题 It is possible to get a serving url like http://lh3.googleusercontent.com/-dB80E6geqWFVU41ZmWL1iGC0BkCDcXAGojwaAgMHG-wMe_xCpISffiaNy00Y6ATJ2J9_W_I8rMgwQYWQQyGcFuffw=s1024 It's done by using google app engine: images.get_serving_url(blobkey, secure_url=False) I don't want to use Google App Engine, just Firebase or the UI. Can this be accomplished? Thanks! I got the info/idea from here: http://www.photo-mark.com/notes/photo-site-app-engine/ List of all the App Engine images service get_serving

Firebase - TypeError: Path must be a string. Received undefined

六月ゝ 毕业季﹏ 提交于 2021-02-08 15:47:06
问题 I am just starting up with firebase. i am not sure ins and out of the firebase and based on my vaguely understanding, I have configured my app this way. In the main Index.js file, I am requiring const path = require('path') const firebaseConfig = require("./src/config/firebaseConfig.js") const firebaseDb = require("./src/helperFunctions/firebase_db.js") Here, firebaseConfig is the place where I am configuring my firebase const firebaseConfigJSON = require("./functions-config.json") const

What set of APIs count towards Firebase Auth API limits (500requests/second)?

天大地大妈咪最大 提交于 2021-02-08 15:27:18
问题 The firebase auth doc shows that you can only make Firebase Auth API calls up to 500 requests/second per service account & 1000 requests/second per project. e.g. If I use Firebase Auth Admin SDK to invoke getUserByEmail or updateUser , do these operations count toward API limits? How about verifying id tokens using verifyIdToken API? If my project verifies all requests coming in to the server from clients by verifying authIdToken, does that mean that my server's upper scaling threshold will

java: cannot access com.google.auth.Credentials class file for com.google.auth.Credentials not found

半城伤御伤魂 提交于 2021-02-08 15:13:34
问题 I'm using the firebase Admin SDK and im getting this error at runtime: Error:(22, 36) java: cannot access com.google.auth.Credentials class file for com.google.auth.Credentials not found This is the constructor that is throwing the error import com.google.auth.oauth2.GoogleCredentials; import com.google.firebase.FirebaseApp; import com.google.firebase.FirebaseOptions; import com.google.firebase.database.*; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList;

java: cannot access com.google.auth.Credentials class file for com.google.auth.Credentials not found

久未见 提交于 2021-02-08 15:10:55
问题 I'm using the firebase Admin SDK and im getting this error at runtime: Error:(22, 36) java: cannot access com.google.auth.Credentials class file for com.google.auth.Credentials not found This is the constructor that is throwing the error import com.google.auth.oauth2.GoogleCredentials; import com.google.firebase.FirebaseApp; import com.google.firebase.FirebaseOptions; import com.google.firebase.database.*; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList;

My Flutter app with Firestore experiences very slow queries when it is resumed from the background on Android

风格不统一 提交于 2021-02-08 15:10:42
问题 Using Flutter 1.20.2. My Flutter app uses Firestore as it's backend database. For the current version I am using and throughout the development of this mobile app I have noticed that if my app is in the background for a period of time (could be a few mins) then when I bring the app back into the foreground the queries are very slow to return data. This does not happen on iOS. It only happens on Android. I use CircularProgressIndicators when my app is busy retrieving data from Firestore. I am

My Flutter app with Firestore experiences very slow queries when it is resumed from the background on Android

℡╲_俬逩灬. 提交于 2021-02-08 15:09:18
问题 Using Flutter 1.20.2. My Flutter app uses Firestore as it's backend database. For the current version I am using and throughout the development of this mobile app I have noticed that if my app is in the background for a period of time (could be a few mins) then when I bring the app back into the foreground the queries are very slow to return data. This does not happen on iOS. It only happens on Android. I use CircularProgressIndicators when my app is busy retrieving data from Firestore. I am

Adding SearchField to StreamBuilder Reading from Firestore

给你一囗甜甜゛ 提交于 2021-02-08 15:04:57
问题 I have a program that I get a list of users from Firebase's cloud Firestore, and display them in a Listview using a StreamBuilder in Flutter. The number of users will be large, and I want to implement a search field in my streambuilder that will query results that match my search field. I want it to look like this: --photo credit: https://blog.usejournal.com/flutter-search-in-listview-1ffa40956685 My Streambuilder that looks like the following: StreamBuilder<QuerySnapshot>( stream: Firestore

What is the difference between FIRInstanceID.instanceID().token() and Messaging.messaging().fcmToken?

不羁岁月 提交于 2021-02-08 14:13:48
问题 I am implementing Firebase push notifications in my app. In one tutorial I find that I get the token from the Messaging.messaging().fcmToken and in this SO question I find this approach: FIRInstanceID.instanceID().token() What is the difference between them? My only goal is to be able to send my backend guys the token so they can recognize me in the DB for push notifications. Currently my code that generates the token is this: func application(_ application: UIApplication,

How to send data from SQLite database to Firebase database

£可爱£侵袭症+ 提交于 2021-02-08 12:09:45
问题 I am creating a Android app that stores data like name, number to SQLite database. I need to push the data from SQLite to Firebase. This is the SQLite code for the app which stores the data in detailsdb sqLiteHelper = new SQLiteHelper(this, "DetailsDB.sqlite", null, 1); sqLiteHelper.queryData("CREATE TABLE IF NOT EXISTS DETAILS(Id INTEGER PRIMARY KEY AUTOINCREMENT, name VARCHAR, phone VARCHAR, location VARCHAR)"); onClick save try { sqLiteHelper.insertData( eName.getText().toString().trim(),