ostinelli / apnotic

A Ruby APNs HTTP/2 gem able to provide instant feedback.
MIT License
477 stars 95 forks source link

Using a :token getting repsonse errors #100

Closed jakeperry closed 3 years ago

jakeperry commented 3 years ago

I have setup the gem to use :token and I am getting a 400 response with {"reason"=>"MissingTopic"}. Any advice how to set this topic is appreciated. I know WHAT I need to set it to but I am not clear on HOW to set it.

jakeperry commented 3 years ago

notification.topic =

was the answer to this problem.

lhguerra commented 4 months ago

topic equals what??

annaswims commented 3 months ago

notification.topic = [the bundle id]

Screenshot 2024-05-15 at 3 07 15 PM
lhguerra commented 3 months ago

It worked!