adds Firebase communication stump
- Firebase connection via Pigeon library - sends bump to a single token at the moment - encrypted test is sent as notification message
This commit is contained in:
@ -47,6 +47,11 @@ config :logger, :console,
|
||||
# Use Jason for JSON parsing in Phoenix
|
||||
config :phoenix, :json_library, Jason
|
||||
|
||||
config :bump, Bump.FCM,
|
||||
adapter: Pigeon.FCM,
|
||||
project_id: "bump-ce0f4",
|
||||
service_account_json: File.read!("secret/service-account.json")
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
import_config "#{config_env()}.exs"
|
||||
|
Reference in New Issue
Block a user