nyanev
nyanev

Reputation: 11519

JAVA nontoop/apns certificate

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

Answers (1)

Joe
Joe

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

Related Questions