@HappyHappyJoyJoy So you connect directly to APNS/GCM? But with APNS … you need to supply the certificate right? Do you have an example how you did that?
In my case, I just let AWS to do that so I won’t expose my certificate in my Ionic project. How did you solve that?
The certificates are SSL ones … You need them on your server side. Your server script (e.g. php) sends payloads to requested urls.
You need to setup your server with that ssl certificates. APNS can recognize the app by the certificate you use. So APNS knows which app/devices gets the messages. No need for sending any api keys etc.
I’m glad I could help. So … this way it’s although better for your customer in conclusion with the topic of privacy and data secrecy. You don’t need services like Pushwoosh or other man-in-the-middles or even pay for that.
Confirmed: You’ll need a real iOS device for APNS or Android/iOS for GCM. With GCM you’re able to send push notification messages to iOS devices, too, but I would keep it clearly separated to APNS and GCM. https://developers.google.com/cloud-messaging/ios/client