Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Samuel ツ
@samuellhuber.eth
How do you handle push notifications? I mean the subscription object? WebPush is different then farcaster notifications and apple/android What's the schema you store in DBs to have the subscriptions ready to ping when your app sends notifications?
2 replies
0 recast
4 reactions
metamonk 🟥
@metamonk
use a separate table for subscriptions with: - endpoint - p256dh_key - auth_key and maybe user_id for deduplication?
1 reply
0 recast
0 reaction
KMac
@kmacb.eth
@vrypan.eth might have something to add here. I aim for buttless code when possible so using his Pingem.zyz & it’s open core farma repo.
1 reply
0 recast
1 reaction