I want to send push notification without any APNS server and device token,like android there is NO local and push notifications but they can send device to device with out google permissions.
Asked
Active
Viewed 2,534 times
0
-
If you can clear what do you want to do that make clear our answer but its not possible with IOS – Retro Jan 20 '14 at 07:44
-
You are lying. There is Google Cloud Messaging on Android, it's googl's analog of Push Notifications. – Cy-4AH Jan 20 '14 at 07:56
-
@Retro.. i need to send instant messages from my app device to device but not using push notification services,when the application is closed. – user3171931 Jan 20 '14 at 09:13
-
Try look in GameCenter's API. – Cy-4AH Jan 20 '14 at 09:50
1 Answers
3
You can NOT send a push notification without using APNs. Why? first you need to understand how the technology works:
You need a certificate for a handshake.
You need a device token to be identified by APNs.
- In your app, you have to register to APNs.
- The app requests the certificate from APNs (handshake).
- The server sends back its certificate.
- The app will establish a connection to the server and send the PN certificate to the APN server.
- The server will validate that you are a trusted app.
- The app requests to create a token.
- The server creates a token and sends it back.
- In your app you save the token (to do e.g. push notifications to a specific user instead of a broadcast).
- End.
So, as you see, you need to establish a trusted connection, the APNs is responsible for creating a token to identify your device within the network, and will be responsible for sending notifications.
For more info you could see: Apple PNs

Fabian Guerra Soto
- 401
- 4
- 9