iOS (APNS), Android (FCM), and Amazon Android (ADM) push notifications for Elixir.
Add :pigeon
and as a mix.exs
dependency:
def deps do
[
{:pigeon, "~> 2.0"}
]
end
See the migration guide for instructions.
Check the module documentation for your push notification service.
- Pigeon.ADM - Amazon Android.
- Pigeon.APNS - Apple iOS.
- Pigeon.FCM - Firebase Cloud Messaging v1 API.
Pigeon can spin up dynamic dispatchers for a variety of advanced use-cases, such as supporting dozens of dispatcher configurations or custom connection pools.
See Pigeon.Dispatcher for instructions.
Want to write a Pigeon adapter for an unsupported push notification service?
See Pigeon.Adapter for instructions.
Unit tests can be run with mix test
or mix coveralls.html
. Environment variables will need to be set for
various credentials. See config/test.exs
for the full list.
This project uses Elixir's mix format
and Prettier for formatting.
Add hooks in your editor of choice to run it after a save. Be sure it respects this project's
.formatter.exs
.
Git commit subjects use the Karma style.
Copyright (c) 2015-2024 Codedge LLC (https://www.codedge.io/)
This library is MIT licensed. See the LICENSE for details.