Search code examples
iosurbanairship.compassbook

Passkit push notifications not working with Urban Airship


I have a pass installed. When installed on a device it registers to my server, the device id is also registered with Urban Airship services.

So far so good.

When I try to send a push message from the dashboard at urban airship, or curling, or let the server send the push, it is never received by the device. Is there anything special I have to think about when pushing passkit updates?


Solution

  • Figured it out when I got more control over the backend.

     Server response was malformed (Wrong type object for key lastUpdated in response dictionary. Expected NSString but found __NSCFNumber.)
    

    So now it works with urban airship