How to make APN server support?
I read in some stackOverflow article that the host will need to open port 2195 and support push notifications under apns.how in order for me to make my server to support apns.
what does this line mean in the Push Notification manual
In order to establish a trusted vendor ID, we have to present this certificate to the APN during a peer-to-peer connection.
Do I need to connect to APns through my native app? someone please explain this
source to share
Pretty much any server that has no limit on what sockets you can open is ready to be an APNS provider. In your project code, you can just open a socket for Apple servers (or use a library).
I understand that Google App Engine and basically any traditional shared web hosting will block any port other than 80, so you cannot use them. However, you can take a look at Urban Airship , which provides a RESTful API that is mostly used from any service. It can get costly though.
source to share
In short, you need to establish an SSL connection and then send the payload in a predefined binary format.
See this guide for details .
source to share
I am using appengine, so I solved it by renting a super cheap server at hetzner.de. It basically serves as a proxy for my appengine application and uses this library: https://github.com/notnoop/java-apns
this library has one way to send a message using a certificate.
source to share
Google just opened up the ability to do Socket things in AppEngine, so I created a sample project that you can use to send push notifications using GCM and APNS in python. Feel free to use whichever one you like.
I've also included a sample iOS project and an Android project that go well with the application engine solution.
https://github.com/GarettRogers/appengine-apns-gcm
** Full disclosure ** this is my project and I am in no way trying to promote it because it is mine ... it is just the only project available that solves your problem at the moment. If you find anything that does a better job, please leave a comment.
source to share