Tag: ase

55 votes
9 answers
1.7K views
How to protect firebase Cloud Function HTTP endpoint to allow only Firebase authenticated users?

With the new firebase cloud function I've decided to move some of my HTTP endpoint to firebase. Everythin

avatar
Fabian
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
1.3K views
Difference between set with {merge: true} and update

In Cloud Firestore there are three write operations: 1) add 2) set 3) update In the docs it says that usi

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
63 votes
18 answers
1.1K views
How do I structure Cloud Functions for Firebase to deploy multiple functions from multiple files?

I would like to create multiple Cloud Functions for Firebase and deploy them all at the same time from one pro

avatar
Jeff
0 1 0 9
asked 07 September, 2021
52 votes
29 answers
497 views
Enabling CORS in Cloud Functions for Firebase

I'm currently learning how to use new Cloud Functions for Firebase and the problem I'm having is tha

avatar
Bryan
0 1 0 9
asked 07 September, 2021
49 votes
21 answers
1.8K views
firestore: PERMISSION_DENIED: Missing or insufficient permissions

I am getting the Error gettingdocuments.com.google.firebase.firestore.FirebaseFirestoreException: PERMI

avatar
Stacia
0 1 0 9
asked 07 September, 2021
58 votes
12 answers
1.4K views
Separate dev and prod Firebase environment

I am considering using Firebase as MBaaS, however I couldn't find any reliable solution to the following

avatar
Lynette
0 1 0 9
asked 07 September, 2021
61 votes
17 answers
566 views
How can I send a Firebase Cloud Messaging notification without use the Firebase Console?

I'm starting with the new Google service for the notifications, Firebase Cloud Messaging. Thanks to thi

avatar
Emilia
0 1 0 9
asked 07 September, 2021
53 votes
19 answers
1.1K views
Cloud Firestore collection count

Is it possible to count how many items a collection has using the new Firebase database, Cloud Firestore? If

avatar
Cortez
0 1 0 9
asked 07 September, 2021
64 votes
5 answers
581 views
What is Firebase Firestore 'Reference' data type good for?

I'm just exploring the new Firebase Firestore and it contains a data type called reference. It is not cle

avatar
Royal
0 1 0 9
asked 07 September, 2021
60 votes
17 answers
1.1K views
FirebaseInstanceIdService is deprecated

Hope all of you aware of this class, used to get notification token whenever firebase notification token got r

avatar
Chaya
0 1 0 9
asked 07 September, 2021
56 votes
12 answers
2.5K views
Failed to resolve: com.google.firebase:firebase-core:9.0.0

I get the following error while upgrading a firebase project from old domain to new google firebase domain.

avatar
Joseph
0 1 0 9
asked 07 September, 2021
54 votes
7 answers
414 views
Query based on multiple where clauses in Firebase

{ "movies": { "movie1": { "genre": "comedy", "name": "As good as it gets", "lead": "Ja

avatar
Rudolf
0 1 0 9
asked 07 September, 2021
51 votes
27 answers
2.9K views
Firebase onMessageReceived not called when app in background

I'm working with Firebase and testing sending notifications to my app from my server while the app is in

avatar
Fabian
0 1 0 9
asked 07 September, 2021
66 votes
12 answers
2.8K views
No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() in Flutter and Firebase

I am building a Flutter application and I have integrated Firebase, but I keep getting this error when I click

avatar
Dorinda
0 1 0 9
asked 07 September, 2021
54 votes
8 answers
3.1K views
Convert Promise to Observable

I am trying to wrap my head around observables. I love the way observables solve development and readability i

avatar
Denese
0 1 0 9
asked 07 September, 2021
59 votes
7 answers
1.4K views
What's the difference between Cloud Firestore and the Firebase Realtime Database?

Google just released Cloud Firestore, their new Document Database for apps. I have been reading the documenta

avatar
Jeff
0 1 0 9
asked 07 September, 2021
63 votes
21 answers
545 views
API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()

Using Android Studio 3.3 Canary 11 with the gradle plugin version 3.3.0-alpha11. It throws the following error

avatar
Santiago
0 1 0 9
asked 07 September, 2021
60 votes
28 answers
2.5K views
How to handle notification when app in background in Firebase

Here is my manifest: <service android:name=".fcm.PshycoFirebaseMessagingServices"> <intent-filter

avatar
Emilia
0 1 0 9
asked 07 September, 2021
58 votes
10 answers
2K views
Is it safe to expose Firebase apiKey to the public?

The Firebase Web-App guide states I should put the given apiKey in my Html to initialize Firebase: // TODO: Re

avatar
Solomon
0 1 0 9
asked 07 September, 2021
57 votes
23 answers
2.8K views