-
Notifications
You must be signed in to change notification settings - Fork 282
TIP: device token should have spaces but no
clearbrian edited this page Jun 13, 2013
·
1 revision
I had a lot of problems getting this to send. I mistakenly though it was a cert problem so just adding this page to help other people.
For Push me baby the device token should be
45f62964 06523099 b66017f7 0eb3ea7d 14140c11 af6f14a0 c24145d1 90005763
not
<45f62964 06523099 b66017f7 0eb3ea7d 14140c11 af6f14a0 c24145d1 90005763>
or
45f6296406523099b66017f70eb3ea7d14140c11af6f14a0c24145d190005f9c
if you include the <> it goes into an infinite loop in an NSScanner
Though officially the device token should include <> and spaces as thats what you get when you RegisterDevice if you use it in other apps such as APN TESTER on MAC APP STORE
<45f62964 06523099 b66017f7 0eb3ea7d 14140c11 af6f14a0 c24145d1 90005763>