cartel v0.2.0 Cartel.Pusher.Apns
APNS binary interface worker
Summary
Functions
Method to fetch Cartel.Message.Apns.Feedback.t
records from feedback service
Sends the message via the specified worker process
Sends a push notification
Bulk sends the same push notification to multiple recipients
Functions
Method to fetch Cartel.Message.Apns.Feedback.t
records from feedback service
Returns an Enumerable Stream
of Cartel.Message.Apns.Feedback
structs.
Specs
push(pid, Cartel.Message.Apns.t) :: :ok | :error
Sends the message via the specified worker process
Specs
send(String.t, Cartel.Message.t) :: {:ok | :error}
Sends a push notification
appid
: target application identifier present inconfig.exs
message
:Cartel.Message
struct for the target platform
Specs
send_bulk(String.t, [String.t], Cartel.Message.t) :: [{:ok | :error}]
Bulk sends the same push notification to multiple recipients
appid
: target application identifier present inconfig.exs
tokens
: device tokenspayload
: payload