Skip to content

Implement one more convenient initialization

Compare
Choose a tag to compare
@MihaelIsaev MihaelIsaev released this 23 May 19:02
· 35 commits to master since this release
app.fcm.configuration = .envServiceAccountKeyFields

it will initialize FCM by reading the following environment variables

FCM_EMAIL - `client_email` in service.json
FCM_PROJECT_ID - `project_id` in service.json
FCM_PRIVATE_KEY - `private_key` in service.json