-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Android] notification with inline reply #612
Conversation
Add inline reply to notification
Great @lluis-sancho I was looking for something like this. Thanks! |
This is an outstanding job. Thanks for sharing @lluis-sancho |
Any updates on when this pull request will be merged? |
Can we get a timeline on if/when this will be merged in? I would LOVE this functionality!! |
@zo0r : Waiting for this PR to be merged. It's long pending, almost a year now. Would be nice to have this in-line reply feature of push notifications implemented for android. @lluis-sancho : There seems to be conflict with the branch. It would be good to have it resolved and raise the PR again so that it can be merged. Thanks. |
Any update on this when this pull request is going to merge? |
please resolve and merge this pr, it has been very important to add this feature since it is nearly 3 years |
Updated from master and resolved conflicts. |
@lluis-sancho I have seen that you have mentioned the library https://github.com/holmesal/react-native-ios-notification-actions But the admin has archived it and not maintaining it. Do you have any other suggestions? |
Hi @vikasg603 |
Yeah, just checked. |
When will it be merged? This is really a cool feature! Would love to know the time 😃 |
Hi @lluis-sancho
|
Summary
Added an action "ReplyInput" that will show in the notification a button with an inline reply (an input to write in).
Changes Introduced
When configuring the actions from React Native it is required to register an action named "ReplyInput", then schedule the notification with the action parameter as "ReplyInput" and two more parameters:
When the user writes in the input and press the send button, a parameter is added in the bundle to pass it to React Native. To get the text, you will receive it in "action.dataJSON" as "reply_text".
Documentation:
https://developer.android.com/guide/topics/ui/notifiers/notifications.html#inline-reply-action
Updated Readme with a code explanation