AMANZATECH / apns-sharp

Automatically exported from code.google.com/p/apns-sharp
0 stars 0 forks source link

APNS not working for production server #54

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello all,

On code

NotificationService service = new NotificationService(true, 
"c:\Certificates.p12", "123456", 1);

notification are working OK

But when change value sandbox = false, service is not working, although I have 
certificate for production server and using the device token generated through 
distribution provisioning profile (Ad-Hoc).

Help needed!

Original issue reported on code.google.com by usman.r...@gmail.com on 7 Dec 2011 at 2:30

GoogleCodeExporter commented 8 years ago
NotificationService service = new NotificationService("gateway.push.apple.com", 
2195, p12Filename, p12FilePassword, 1);

download production certificate and produce *.p12 file from keychain export 
each you

Original comment by trashtra...@gmail.com on 16 Dec 2011 at 10:37