Reputation: 11519
I have java application and I want to send push notification. I use nontoop/apns library. In this line of code which certificate should I use instead cert
variable?
ApnsService service = APNS.newService().withCert(cert, "atajerBritecs")
.withSandboxDestination().build();
Thnaks in advance
Upvotes: 0
Views: 985
Reputation: 2987
It looks like you are calling the ".withSandboxDestination()" so you will want to use the Development Push SSL Certificate. This can be configured in the "App Ids" section.
Note to configure your App in the "App Ids" section you need to be Team Agent
Upvotes: 3