We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The host url that I'm requesting is https://api.push.apple.com/.... The actual url is the push token appended to the above url:
https://api.push.apple.com/....
Therefore the actual url becomes https://api.push.apple.com/..../<push_token> which is uri
https://api.push.apple.com/..../<push_token>
uri
notification = RubyPushNotifications::APNS::APNSNotification.new tokens, { aps: { alert: 'Hello APNS World!', sound: 'true', badge: 1 } }
pusher = RubyPushNotifications::APNS::APNSPusher.new(File.read('Certificates.pem'), true, password, { host: uri })
On pusher.push [notification] I get getaddrinfo: nodename nor servname provided, or not known (SocketError).
pusher.push [notification]
getaddrinfo: nodename nor servname provided, or not known (SocketError)
The uri works perfectly via curl.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The host url that I'm requesting is
https://api.push.apple.com/....
The actual url is the push token appended to the above url:
Therefore the actual url becomes
https://api.push.apple.com/..../<push_token>
which isuri
notification = RubyPushNotifications::APNS::APNSNotification.new tokens, { aps: { alert: 'Hello APNS World!', sound: 'true', badge: 1 } }
pusher = RubyPushNotifications::APNS::APNSPusher.new(File.read('Certificates.pem'), true, password, { host: uri })
On
pusher.push [notification]
I getgetaddrinfo: nodename nor servname provided, or not known (SocketError)
.The uri works perfectly via curl.
The text was updated successfully, but these errors were encountered: