-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Android notification action reply input not returning reply_text #2152
Comments
reason in file RNPushNotificationAcions can't get text in remoteInput => can't callback to js. Fix: edit and edit |
@TongManhCong thanks! For me, edit flags was enough |
Downgrade to |
@redexp @TongManhCong what happens if you replace |
@cristianoccazinsp The intent becomes mutable, meaning the values can be changed added to the intent which is required for the reply input to send data on user action. |
(I'm guessing you didn't mean to ping me😄) |
Changing it to mutable should fix it I believe. |
Nope 🙃 |
I wondering if someone can test this version:
The CHANGELOG is available here: https://github.com/zo0r/react-native-push-notification/blob/dev/CHANGELOG.md#unreleased |
Next RN version will also force SDK 31. So it’s a good idea to get ready for it. For our app, android 12 was full of UI issues that could only be corrected using SDK 31. |
Awesome post! Thanks for posting such informative stuff. Really I’m so excited to read such depth article on push notifications. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
Bug
When pushing a notification on Android with a reply action, I am not getting the reply_text back. The notification pops up on the device with the reply action, I can enter a message and click send, but the notification that the application receives, has no "reply_text" field with the message that was typed in.
On iOS this working fine, I see the reply_text field and can handle it accordingly. Any idea why this could be broken?
Environment info
react-native info
output:Library version: "react-native-push-notification": "^8.1.0",
Steps To Reproduce
Describe what you expected to happen:
The text was updated successfully, but these errors were encountered: