nomad-cli / houston

Apple Push Notifications; No Dirigible Required
http://nomad-cli.com
MIT License
2.93k stars 229 forks source link

"1 push notification sent successfully" from terminal but I am sure I didn't get the push notification #125

Closed qiulang closed 7 years ago

qiulang commented 7 years ago

I run the command

localhost:xxxx
$ apn push "<835af111729153d884612dcac613aa57dcabddf9b08a68a177d8325c48a1f6f4>" -c ./voip_push.pem -m "Hi Houston"
1 push notification sent successfully

But I am sure I didn't got the push because I then used pushwoosh push test wirh the same token, and I got the token. What can the possible reason ?

Update

This is a VOP push token, not the normal APN token so I realized I should use production enviroment, so I changed to:

apn push "835af111729153d884612dcac613aa57dcabddf9b08a68a177d8325c48a1f6f4"  -e production -c voip_push.pem -m "Houston:13910134045"
1 push notification sent successfully

But still no push received.

iFoxxy commented 7 years ago

I am not sure, if this is the same issue, but my app doesn't receive notifications with production cert as well. With dev it works just fine. I'm completely sure that provisioning profile and push certs are configured correctly, is it possible that apple changed some configuration to production environment for push notifications providers and it doesn't work anymore?

Dellybro commented 7 years ago

This also an issue for me at the currnet moment

Dellybro commented 7 years ago

So what ended up happening for me is, i recreated the .certSigningKey, recreated the .cert, than grabbed the key from my keychains, than turned the p12 into .pem.

I think what happened was, I must've clicked on Development or something, If anybody else if having this issue, i recommend just making sure your .pem is correct

dankimio commented 7 years ago

@qiulang Are you still having this issue?

NasrullahKhan commented 6 years ago

yes i'm facing the same issue.