Closed mwkirk closed 11 years ago
From sype...@gmail.com on September 22, 2012 13:14:28 Please provide the complete log output that is generated by JavaPNS.
From ghazal.m...@gmail.com on September 22, 2012 14:25:49 Sorry, my bad. My deviceTokens list was empty so it was not even generating any JavaPNS logs. Works fine now, Thanks.
Original author: ghazal.m...@gmail.com (September 22, 2012 07:27:58)
What steps will reproduce the problem? 1.Make a push.alert/ push.payload call passign sufficient arguments
What is the expected output? What do you see instead?
Expected responce is i should be getting the pushednotifications back, error or success. But not empty.
What version of the product are you using? On what operating system? 2.2, Window 7
Please provide any additional information below.
Code to push
PushedNotifications notifications = Push.alert(message, AppProperties.getAPNKeystorePath(), AppProperties .getAPNPassword(), false, new ArrayList<String>(deviceTokens)); logger.info("notifications: " + notifications.size()); // this displays zero // never enters this loop for (PushedNotification notification : notifications) { logger.info(notification.getLatestTransmissionAttempt() + " was "
Original issue: http://code.google.com/p/javapns/issues/detail?id=146