iOS and Android push notifications for Elixir
Fixed
:too_many_provider_token_updates
by moving token generation into
APNS.Token
(#227).DispatcherWorker
missing a clause for {:stop, reason}
in the init function.APNS.Config
keys now decode properly for PEMs generated with OpenSSL 3. (#248)ExpiredToken
as APNS error response. (#240):dev
/:prod
environments with the same key identifier. (#239)Changed
Fixed
Added
JSON library made configurable. For backwards compatability, Poison is still a required dependency.
Override in your config.exs
.
config :pigeon, json_library: Jason
Fixed
Pigeon.ConfigError
when booting invalid config structs.
See below for validated keys and error types.APNS.JWTConfig
now validates key p8 content before connecting.gen_stage
dependency to allow ~> 1.0
Validated config keys:
ADM.Config
- :client_id
, :client_secret
APNS.Config
- :cert
, :key
APNS.JWTConfig
- :team_id
, :key
, :key_identifier
FCM.Config
- :key
Possible error values:
{:error, {:invalid, value}}
{:error, {:nofile, value}}
apns-push-type
header support for iOS 13. An additional :push_type
key has been added to the APNS.Notification
struct.:unknown_error
expiration
collapse_id