codedge-llc / pigeon

iOS and Android push notifications for Elixir
https://hex.pm/packages/pigeon
MIT License
641 stars 144 forks source link

Asynchronous Pushing not Working for IOS #206

Open asgharkhan11 opened 3 years ago

asgharkhan11 commented 3 years ago

Environment

Asynchronous Push to IOS not working without giving any error just callback function never called. if i send the notification like below the on_response never being called without any error Pigeon.APNS.push(notification, on_response: on_response)

if i send the notification like below {:ok, pid} = Pigeon.APNS.start_connection(cert: apns_cert, key: apns_key, mode: apns_mode) Pigeon.APNS.push(notification, to: pid)

The notifications work properly then.

Note: configuration and certs are all ok and the code working in older version of elixir and Erlang

hpopp commented 3 years ago

Which older versions of Elixir and Erlang and what version of Pigeon are you using?