Skip to content
New issue

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

APN and GCM with Proxy #20

Open
nuttao opened this issue Dec 24, 2013 · 2 comments
Open

APN and GCM with Proxy #20

nuttao opened this issue Dec 24, 2013 · 2 comments

Comments

@nuttao
Copy link

nuttao commented Dec 24, 2013

Your gem works great,
but my server need to use proxy to connect internet.
How can I do? Need configs in rails or in gem's parameters, please help.

@NicosKaralis
Copy link
Owner

never crossed my mind with this problem, i need to search on the matter (sorry for the delay)

@muffl0n
Copy link

muffl0n commented Dec 17, 2014

For GCM it's sufficient to set a proxy like this:

GCM.http_proxy(addr="myproxy", port=8080, user="proxyuser", pass="proxypass")
GCM.send_notification(destination, data)

Unfortunately that does not work for APN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants