jayashi / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Getting no invalidToken Errors #201

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Connect to Production Server with pushQueue
2.Send Token 64 times 0 or, 100000002000000030000000... with valid payload

What is the expected output? What do you see instead?
I expect an invalid Token response. 
I see a notification.isSuccessful() = true

What version of the product are you using? On what operating system?
2.2.1, java1.6

Please provide any additional information below.

Original issue reported on code.google.com by mateusz....@gmail.com on 22 Oct 2013 at 2:45

GoogleCodeExporter commented 8 years ago
As per APNS specs, Apple may not respond immediately if a token is not 
registered.  It only validates if the token's syntax is valid.

Original comment by sype...@gmail.com on 30 Sep 2014 at 2:46