开发者

JAVA nontoop/apns certificate

开发者 https://www.devze.com 2023-04-09 19:26 出处:网络
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?

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")
                .withSa开发者_运维知识库ndboxDestination().build();

Thnaks in advance


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

0

精彩评论

暂无评论...
验证码 换一张
取 消