cartel v0.7.0 Cartel.Pusher.Apns
Apple APNS Binary API worker
Summary
Functions
Method to fetch Cartel.Message.Apns.Feedback.t records from feedback service
Callback implementation for Cartel.Pusher.handle_push/3
Generate the process name for the requested app
Sends a push notification
Starts the pusher
Functions
Method to fetch Cartel.Message.Apns.Feedback.t records from feedback service
Returns an Enumerable Stream of Cartel.Message.Apns.Feedback structs.
Callback implementation for Cartel.Pusher.handle_push/3.
Specs
send(String.t, Cartel.Message.Apns.t, [String.t]) :: {:ok | :error}
Sends a push notification
appid: target application identifier present inconfig.exsmessage: message structtokens: list of device tokens
Specs
start_link(%{env: :production | :sandbox, cert: String.t, key: String.t, cacert: String.t}) :: GenServer.on_start
Starts the pusher