jlcvp / fcm-node

A Node.JS simple interface to Google's Firebase Cloud Messaging (FCM) for Android & iOS & Web Notification and data push
MIT License
125 stars 46 forks source link

How to initialize many apps? #63

Closed aboutyu closed 4 years ago

aboutyu commented 4 years ago

Hello.

I develop FCM to send 3 apps using this library. but showing follow error messages. How to set this case?

fcm_zeroshop.send(message, (err, response) => { });

-error message The default Firebase app does not exist. Make sure you call initializeApp() before using any of the Firebase services.

jlcvp commented 4 years ago

at this time, it's not supported, I recommend you to use the admin.messaging directly as this library is not getting updates anymore