With Java-APNS, they create a service like this:
ApnsService service = APNS.newService() .withCert("C:/temp/myCertificate.p12", "p@ssw0rd") .withSandboxDestination() .build();
ApnsService is a Java Interface.
I'd like to instantiate this service with Spring and inject it in another service, any idea?
Best thanks to you!