adobkin / libcapn

A simple C Library for interact with the Apple Push Notification Service (APNs)
MIT License
100 stars 37 forks source link

Library strange behavior #32

Open hoangtuan151 opened 7 years ago

hoangtuan151 commented 7 years ago

Hi Adobkin, When I run command: apn-pusher -c ./xlt.p12 -p -d -m 'hello' -t AAAAA:BBBBBB:7c61545e72bbb52b9d85f7641f1ec28fe57acd07ad1340fe2fdb34d137cef234

Here is result

Enter .p12 file password: 
Notification was sucessfully sent to 2 device(s)

Invalid tokens:
    0. AAAAA

There are 2 push messages to my iPhone when I think it should be only one (AAAAA and BBBBBB are invalid tokens). Is it normal behavior of APN library.