Export to GitHub

apns-sharp - issue #54

APNS not working for production server


Posted on Dec 7, 2011 by Swift Cat

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!

Comment #1

Posted on Dec 16, 2011 by Grumpy Wombat

NotificationService service = new NotificationService("gateway.push.apple.com", 2195, p12Filename, p12FilePassword, 1);

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

Status: New

Labels:
Type-Review Priority-Medium