chvanikoff / apns4ex

APNS for Elixir
MIT License
70 stars 23 forks source link

Allow APNS token from feedback to be encoded with lowercase #30

Closed ramhoj closed 2 years ago

ramhoj commented 8 years ago

The feedback module gets called with an uppercase representation of the hex APNS token (https://github.com/chvanikoff/apns4ex/blob/master/lib/apns/worker.ex#L122). It would be nice to allow the user to configure this.

config :apns,
  callback_module:    APNS.Callback,
  token_case: :lower # defaults to :upper,
  …

Would you consider a PR to address this?

zepplock commented 8 years ago

Yes, please.

ramhoj commented 2 years ago

Closing very old issue.