pushmeup icon indicating copy to clipboard operation
pushmeup copied to clipboard

APN and GCM with Proxy

Open nuttao opened this issue 11 years ago • 2 comments

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.

nuttao avatar Dec 24 '13 04:12 nuttao

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

NicosKaralis avatar Mar 01 '14 02:03 NicosKaralis

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.

muffl0n avatar Dec 17 '14 09:12 muffl0n