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
7 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
Samuel ツ
@samuellhuber.eth
which means you're accepting the added complexity in the notification management logic? no way around that?
1 reply
0 recast
1 reaction
metamonk 🟥
@metamonk
ya if you want true OS level notifs, I have not seen a way around it unfortunately
0 reply
0 recast
1 reaction