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. Everything works great… But i have the following issue. I have two endpoints build by HTTP Triggers (Cloud Functions) An API endpoint to create users and returns the custom Token generated by Firebase Admin SDK. An API endpoint … Read more

Separate dev and prod Firebase environment

I am considering using Firebase as MBaaS, however I couldn’t find any reliable solution to the following problem: I would like to set up two separate Firebase environments, one for development and one for production, but I don’t want to do a manual copy of features (eg. remote configuration setup, notification rules, etc.) between the … Read more

Query based on multiple where clauses in Firebase

{ “movies”: { “movie1”: { “genre”: “comedy”, “name”: “As good as it gets”, “lead”: “Jack Nicholson” }, “movie2”: { “genre”: “Horror”, “name”: “The Shining”, “lead”: “Jack Nicholson” }, “movie3”: { “genre”: “comedy”, “name”: “The Mask”, “lead”: “Jim Carrey” } } } I am a Firebase newbie. How can I retrieve a result from the data … Read more

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 documentation but I don’t see a lot of differences between Firestore and Firebase DB. The main point is that Firestore uses documents and collections which allow the easy use of querying compared to Firebase, which is a traditional noSQL … Read more

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 on a button either to register, login or logout. I have seen other people have asked the same question, but none seems to work for me. I am using Flutter and Android Studio. How can … Read more