MihaelIsaev / FCM

⚡️ PushNotifications through FireBase for Vapor 3 and 4.
MIT License
125 stars 36 forks source link

Added support for reading service account from JSON string env variable. #31

Closed Andrewangeta closed 3 years ago

Andrewangeta commented 3 years ago

This is a convenient way to not have to store files on disk separate from a .env file. Adds a new env var FCM_SERVICE_ACCOUNT_KEY (minus the _PATH). This option is also in google-cloud-kit

MihaelIsaev commented 3 years ago

It is now available since 2.10.0 tag 🥳 @Andrewangeta thank you very much for the contribution! ❤️