We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi to all, I had develop a service to push voip notifications and in it I had implemented a "Delegate Method" (it return a ApnsDelegate Object).
APNS.newService() .withCert(voipcert , password) .withDelegate(getDelegate()) .withAppleDestination(true) .build() private ApnsDelegate getDelegate() { return new ApnsDelegate() { public void notificationsResent(int resendCount) { log.info("resendCount=" + resendCount); } public void messageSent(ApnsNotification message, boolean resent) { log.info("Message sent. Payload={}" + message); } public void messageSendFailed(ApnsNotification message, Throwable e) { log.error("Message send failed. Message="+ message.toString() + " token=" + message.getDeviceToken().toString() + " payload=" + message.getPayload().toString() + " Throwable.getLocalizedMessage=" + e.getLocalizedMessage() + " Throwable.getMessage=" + e.getMessage()); } public void connectionClosed(DeliveryError e, int messageIdentifier) { log.error("Connection closed. Message = " + e.toString() + " messageIdentifier = " + messageIdentifier); } public void cacheLengthExceeded(int newCacheLength) { log.error("cacheLengthExceeded " + newCacheLength); } }; }
I uninstalled the application and I send a notification to application's device-token
Java-APNS not use Delagate Method when I send a voip notification to a device-token of uninstalled application.
What about it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi to all,
I had develop a service to push voip notifications and in it I had implemented a "Delegate Method" (it return a ApnsDelegate Object).
I uninstalled the application and I send a notification to application's device-token
Java-APNS not use Delagate Method when I send a voip notification to a device-token of uninstalled application.
What about it?
The text was updated successfully, but these errors were encountered: