aboutsummaryrefslogtreecommitdiffstats
path: root/bun.lock
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-06 22:56:53 -0700
committerAdam Soltys <[email protected]>2026-11-06 22:56:53 -0700
commit0c5041764999f9f74e6982cc59791bf3b3778981 (patch)
tree198de3826b6f01c46a21c04ee500d3562eee4564 /bun.lock
parent14a6dd5ccc03e4617703888beeb3c9e0d4b09cbb (diff)
downloadcoinosv3-server-0c5041764999f9f74e6982cc59791bf3b3778981.tar.gz
coinosv3-server-0c5041764999f9f74e6982cc59791bf3b3778981.zip
nwcpush delivers to Firebase Cloud Messaging for the Android app that runs the wallet in its own WebView. That app hands the web app "fcm:<token>" where a UnifiedPush endpoint would go (the same ?up= road), so the device registers exactly as a UnifiedPush one and only delivery differs: deliver() sends an fcm: endpoint through the FCM v1 API (service-account JWT → OAuth token, cached for its hour) as a data message whose `body` is the same JSON payload, priority HIGH for urgent pushes, TTL carried over. A token the app no longer holds (404 / UNREGISTERED) is reported as 410 so the registration is dropped. Needs CFG.fcm.serviceAccount (path to the Firebase service-account JSON); until it's set, fcm: deliveries fail as 503 and are kept
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6Ts5Tktega8VbLg31q
Diffstat (limited to 'bun.lock')
0 files changed, 0 insertions, 0 deletions