Express v1.3.3 Express behaviour View Source

Library for sending push notifications. Supports Apple APNS and Google FCM services.

Link to this section Summary

Callbacks

Pushes a message with options and callback function (which are optional). Returns a response from a provider (via callback function)

Link to this section Types

Link to this type callback_fun() View Source
callback_fun() :: (PushMessage.t, Express.push_result -> any)
Link to this type push_result() View Source
push_result ::
  {:ok, %{id: any, status: pos_integer, body: any}} |
  {:error, %{id: any, status: pos_integer, body: any}}

Link to this section Callbacks

Pushes a message with options and callback function (which are optional). Returns a response from a provider (via callback function).