sending ios voip notification using java-apns(notnoop) -


i trying implement voip notification server using java. tried javapns , java-apns.the problems facing are:

1.with javapns able send voip notification unable receive on device.

push.alert(message,"path/to/voip_certificate_p12.p12", "password",true,"voip_device_id"); 

2.with java-apns(notnoop)library unable compile code.

i getting error: not initialize class com.notnoop.apns.internal.utilities
tried different java-apns jar versions , slf4j jar versions, getting same error. have gone through post regarding issue not resolve issue.

any great. there library implements push-kit framework in java?

i figured out send voip notifications voip application on ios. able achieve desired result javapns library. here list of things 1 needs do:

  1. get knowledge of type of certificates need , have.if there doubt certificate please clear there , only.

  2. once done #1. double check :p(looks funny highly recommended.50% of problems caused wrong certificates only).

  3. javapns used(i tried notnoop has lot of dependencies). simple use.

  4. push , voip notifiations sent same socket apns. apns reads certificate , key(there different keys push , voip notifications), , decides if needs send normal push notification or voip notification.

  5. you need implement pushkit framework in client(didreceiveincomingpushwithpayload method called when voip notifaications received).

the voip message received device , start in background. there wont alert on screen. decide how want use it. generated local notification alert user.

this useful link: stackoverflow.com.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -