Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
Even when i uninstall my apps from phone,i get same old logs when test using
javapns.test.NotificationTest
following is a log from feedback service for your ref after i uninstall
service. any comments you would like to make.
D:\Projects\IPhone\PushNotification\Javapns\javapns>java -cp "JavaPNS_2.1.jar;li
b/bcprov-jdk15-146.jar;lib/log4j-1.2.15.jar" javapns.test.FeedbackTest Certifica
tesKey.p12 xxxx production
0 [main] DEBUG javapns.communication.ConnectionToAppleServer - Creating SSLSock
etFactory
109 [main] DEBUG javapns.communication.ConnectionToAppleServer - Creating SSLSo
cket to feedback.push.apple.com:2196
4500 [main] DEBUG javapns.feedback.FeedbackServiceManager - Found: [0]
Original comment by pcbapps...@gmail.com
on 1 Dec 2011 at 8:22
The log does show that the message was successfully pushed to Apple servers,
hence no errors. Now, why is your app apparently not receiving (or reacting
to) the notification is another matter. Did you go through the entire
Troubleshooting wiki page here?
Did your app receive notifications through the sandbox? If so, could you
provide the same log output but for your attempts using the sandbox?
Original comment by sype...@gmail.com
on 1 Dec 2011 at 12:35
Thanks guys for your prompt reply. My problem is resolved.
Another behavior i want to know, why even after i uninstall my apps, still your
API return me Push notification sent successfully to:
b411c9e9353a871ecb8a45ca3ecbc16dfc77a8873abb2645926f28c3797a786a
I tried this 3-4 times still get the same successful reply.
But if i check using feedback service i get Inactive device:
b411c9e9353a871ecb8a45ca3ecbc16dfc77a8873abb2645926f28c3797a786
a
Original comment by pcbapps...@gmail.com
on 2 Dec 2011 at 9:01
As explained in the documentation
(http://code.google.com/p/javapns/wiki/ManagingPushErrors), you cannot rely on
either of these systems alone (error-responses and feedback service) to detect
errors. The two systems report DIFFERENT problems, so one system might not
report an error while the other might. This is the way Apple designed APNS.
In your case, no error-response packets were generated by Apple probably
because you token is valid and is known to have worked before. But then Apple
detected that your app is uninstalled so the token was listed by the Feedback
Service.
Original comment by sype...@gmail.com
on 2 Dec 2011 at 3:27
Original issue reported on code.google.com by
pcbapps...@gmail.com
on 1 Dec 2011 at 8:14