DEV Community

Tushar
Tushar

Posted on

How to send a notification when a pass is updated in Apple Wallet using Node.js?

I have integrated Apple Wallet into a Node.js application and added a pass to my wallet. Now, when I update the text in the pass, it gets reflected in the wallet, but I am not receiving any notifications about this update.

When I set production: false, I get a success response, but the notification is not received on the phone.
When I set production: true, I get a 'bad device token' error.
How can I send a notification to the phone when the pass is updated?

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more