You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
but all it is returning is nil and notifications are not being sent and all the associated article call APNs a black box with not round about for this.
Is there any way to figure out the errors and reasons for notifications not being delivered ?
The text was updated successfully, but these errors were encountered:
@toshitapandey@cwilliamsnh are you in dev/sandbox or production? In dev/sandbox the APNS.host should be gateway.sandbox.push.apple.com, production should be gateway.push.apple.com.
I also had trouble using #{Rails.root}, trying using Rails.root.join('doc/pushcert.pem'), that worked for me.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using following for sending the notification.
APNS.host = 'gateway.push.apple.com'
APNS.pem = "#{Rails.root}/doc/pushcert.pem"
APNS.port = 2195
APNS.send_notification(token, message)
but all it is returning is
nil
and notifications are not being sent and all the associated article call APNs a black box with not round about for this.Is there any way to figure out the errors and reasons for notifications not being delivered ?
The text was updated successfully, but these errors were encountered: