firebase / firebase-functions-test

MIT License
232 stars 48 forks source link

Error: The default Firebase app does not exist. Make sure you call initializeApp() before using any of the Firebase services. #46

Closed noor2096 closed 4 years ago

noor2096 commented 5 years ago

I am trying to create a Firebase Function but I am getting the following error: 1

This is my index.js file code 2

I already tried different things but not getting any success. Basically I want to send notifications from one device to other devices. Kindly take a look and help me out. Thanks!

laurenzlong commented 4 years ago

Hi, this is not a bug with firebase-functions-test. If you need help writing a cloud function, please refer to our support channels: https://firebase.google.com/support