I am trying to implement voip notification server using java. I tried javapns and java-apns.The problems I am facing are:
1.With javapns I am able to send voip notification but unable to receive it on device.
Push.alert(message,"path/to/Voip_certificate_P12.p12", "password",true,"voip_device_id");
2.with java-apns(notnoop)library I am unable to compile the code.
I am constantly getting this error:
Could not initialize class com.notnoop.apns.internal.Utilities
I tried it with different java-apns jar versions and slf4j jar versions, but getting the same error. I have gone through almost all the post regarding this issue but could not resolve the issue.
Any help would be great. Is there any library that implements push-kit framework in java?