HTTP2-compliant wrapper for sending iOS and Android push notifications.
Note: Pigeon's API will likely change until v1.0
Add pigeon and kadabra as mix.exs dependencies:
def deps do
[
{:pigeon, "~> 0.12.0"},
{:kadabra, "~> 0.2.0"}
]
endAfter running mix deps.get, if running Elixir v1.3 or earlier, configure mix.exs
to start the applications automatically.
def application do
[applications: [:pigeon, :kadabra]]
endPrefer chatterbox as your http2 client?
def deps do
[
{:pigeon, "~> 0.12.0"},
{:chatterbox, "~> 0.4.0"}
]
endSpecify it in your config.exs
:config, :pigeon, http2_client: Pigeon.Http2.Client.ChatterboxFor usage and configuration, see the docs: