0
votes

Pushnotification successfully come on my device when i am done with development certificate but when i am do this using production certificate Push notification not come on my device.

changes i made with production certificate:

  1. i create new pem file for server with production certificate

  2. i change url to ssl://gateway.push.apple.com:2195'

My push notification send successfully by server but not come on my device whats wrong i made please help.

1
Check your certificate - Nisar
@Nisar my certificate is correct i am success fully connected using my certificate and message is sent by server site but it not recive on devise i don't know why.and please tell me where to find mobileprovisionfile ? - Anurag Sharma
Check this out as well: stackoverflow.com/questions/19872625/… Make sure you installed the adhoc version on your device as well. Development builds cannot receive production certificates. - Nick

1 Answers

0
votes

I am unable to get push notification because device token which we receive by development certificate is different one from device token which we get through production certificate.

Device Token (development Certificate) != Device Token (Production Certificate).

So i was trying to use Device Tokent ( development ) with production Certificate.

Thanks for reply.