Closed GoogleCodeExporter closed 8 years ago
Is this a token for a sandbox device? If you search the web for "apns invalid
token production", you will find a lot of info pointing to a possible mixup
with your sandbox and production tokens and/or certificates. I suggest you
clear that up, as it is most likely the problem (because the error you are
seeing is actually coming from Apple, so there's not much the library can
do...).
Original comment by sype...@gmail.com
on 16 Oct 2014 at 3:03
well.. that token from just parsed param "devToken" in method
"didRegisterForRemoteNotificationsWithDeviceToken: (NSData *) devToken"
are there any different ways to get each tokens?
thanks for your comment and effort, keeping this useful lib. :-)
Original comment by cafew...@gmail.com
on 16 Oct 2014 at 4:39
I meant, are you using a sandbox app to get that token? If you are, that token
is apparently only usable through the APNS sandbox servers.
Original comment by sype...@gmail.com
on 17 Oct 2014 at 4:40
yes it was.. now problem solved.
thanks a lot :-)
Original comment by cafew...@gmail.com
on 19 Oct 2014 at 1:46
Closing as per confirmation that this was not an issue with JavaPNS.
Original comment by sype...@gmail.com
on 28 Oct 2014 at 7:19
Original issue reported on code.google.com by
cafew...@gmail.com
on 15 Oct 2014 at 3:26