Skip to content
项目

关于

为 Elixir 提供 iOS 和 Android 推送通知功能

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

logo

iOS (APNS), Android (FCM), and Amazon Android (ADM) push notifications for Elixir.

CI Version Total Downloads License Last Updated Documentation

Installation

Add :pigeon as a mix.exs dependency:

def deps do
  [
    {:pigeon, "~> 2.1"}
  ]
end

Pigeon supports every Elixir version that still receives security patches, currently 1.16 and later. The minimum version moves forward when Elixir drops a branch from support.

Upgrading from v1.6

See the migration guide for instructions.

Getting Started

Check the module documentation for your push notification service.

Creating Dynamic Runtime Dispatchers

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.

Writing a Custom Dispatcher Adapter

Want to write a Pigeon adapter for an unsupported push notification service?

See Pigeon.Adapter for instructions.

Contributing

Testing

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.

Formatting

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.

Commits

Git commit subjects use the Karma style.

License

Copyright (c) 2015-2026 Codedge LLC (https://www.codedge.io/)

This library is MIT licensed. See the LICENSE for details.

探索相关项目

加载中…