internet-identity-notifications
Installation
SKILL.md
Internet Identity Notifications
Prerequisite
Load the internet-identity skill first. Two things from it are load-bearing here: the sender list is served from the app's primary origin, the same origin ii-app-metadata is read from, and that metadata is what names the app on its own notifications.
A suite shares one sender list and one 10-canister cap across every app derived from that origin.
Notifications
Your canister can notify a signed-in user while the app is closed. II owns the push subscriptions, so there is no push service, no VAPID keys, and no device tokens in the app.
Three pieces, all required. Missing any one of them produces silence rather than an error at the point you left out.
- The frontend asks for consent, through II.
- The origin names the sending canister at
/.well-known/ii-notification-senders. - The canister sends, through the
identity-notificationslibrary.