-
Notifications
You must be signed in to change notification settings - Fork 288
Notification doc update #547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Heimdall Review Status
|
dylsteck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a non-blocking comment but otherwise LGTM
docs/onchainkit/latest/components/minikit/hooks/useNotification.mdx
Outdated
Show resolved
Hide resolved
Approved review 3367372432 from dylsteck is now dismissed due to new commit. Re-request for approval.
| "event": "notifications_disabled" | ||
| } | ||
| ``` | ||
| ## Client App Behavior |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move this to the top under Overview
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Farcaster app: Activates notification tokens immediately without waiting for a webhook success response.
Base app: Waits for a successful webhook response before activating tokens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then let's turn the last paragraph into a <Note> saying: If your webhook performs token saving and notification sending before returning a response, tokens may work on Farcaster but fail to activate on Base.
|
|
||
| Different client apps handle webhook responses differently: | ||
|
|
||
| Farcaster app: Activates notification tokens immediately without waiting for a webhook success response. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add the bold back to each of these Farcaster App and Base App
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
capital A's as well
|
|
||
| Different client apps handle webhook responses differently: | ||
|
|
||
| Farcaster app: Activates notification tokens immediately without waiting for a webhook success response. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
capital A's as well
What changed? Why?
--Added timeout call out for notification
-- added depreciated warning for addMiniApp hook